projects
/
rust_exercises.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468de3c
)
fix syntax with comma (#89)
author
Ernie Hershey
<github@ernie.org>
Thu, 20 Jun 2024 08:21:33 +0000
(
04:21
-0400)
committer
GitHub
<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
patch
|
blob
|
history
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
(file)
--- 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")
}
}
}