From d8d7e73f1c7b53c0dd459fa8d45f56722ebbcc6b Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Thu, 20 Jun 2024 04:21:33 -0400 Subject: [PATCH] fix syntax with comma (#89) Example doesn't compile with a comma here --- book/src/05_ticket_v2/04_if_let.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } } }