fix syntax with comma (#89)
authorErnie Hershey <github@ernie.org>
Thu, 20 Jun 2024 08:21:33 +0000 (04:21 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Jun 2024 08:21:33 +0000 (10:21 +0200)
Example doesn't compile with a comma here

book/src/05_ticket_v2/04_if_let.md

index a8cd49a..399babf 100644 (file)
@@ -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")
             }
         }
     }