From: Ernie Hershey Date: Thu, 20 Jun 2024 08:21:33 +0000 (-0400) Subject: fix syntax with comma (#89) X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=d8d7e73f1c7b53c0dd459fa8d45f56722ebbcc6b;p=rust_exercises.git fix syntax with comma (#89) Example doesn't compile with a comma here --- diff --git a/book/src/05_ticket_v2/04_if_let.md b/book/src/05_ticket_v2/04_if_let.md index a8cd49a..399babf 100644 --- a/book/src/05_ticket_v2/04_if_let.md +++ b/book/src/05_ticket_v2/04_if_let.md @@ -8,7 +8,7 @@ impl Ticket { match &self.status { Status::InProgress { assigned_to } => assigned_to, Status::Done | Status::ToDo => { - panic!("Only `In-Progress` tickets can be assigned to someone"), + panic!("Only `In-Progress` tickets can be assigned to someone") } } }