From 2c044a2567b0f681f9b96b4cc15f77c1b78a4666 Mon Sep 17 00:00:00 2001 From: LukeMathWalker <20745048+LukeMathWalker@users.noreply.github.com> Date: Tue, 14 May 2024 10:05:25 +0200 Subject: [PATCH] Fix instructions. --- exercises/05_ticket_v2/08_error_enums/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/05_ticket_v2/08_error_enums/src/lib.rs b/exercises/05_ticket_v2/08_error_enums/src/lib.rs index 791ee13..5fd4252 100644 --- a/exercises/05_ticket_v2/08_error_enums/src/lib.rs +++ b/exercises/05_ticket_v2/08_error_enums/src/lib.rs @@ -6,7 +6,7 @@ enum TicketNewError {} // TODO: `easy_ticket` should panic when the title is invalid, using the error message // stored inside the relevant variant of the `TicketNewError` enum. // When the description is invalid, instead, it should use a default description: -// "No description provided". +// "Description not provided". fn easy_ticket(title: String, description: String, status: Status) -> Ticket { todo!() }