mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-24 16:10:25 +08:00
Remove unnecessary exclamation
`match` is not a macro, is that '!' intentional? See line 37 where it seems more appropriate.
This commit is contained in:
parent
ba94ced602
commit
62a67f47fe
@ -12,7 +12,7 @@ go through each pattern in a `match`, and for the first pattern that the value
|
||||
execution.
|
||||
|
||||
Since we're already talking about coins, let's use them for an example using
|
||||
`match`! We can write a function that can take an unknown American coin and, in
|
||||
`match`. We can write a function that can take an unknown American coin and, in
|
||||
a similar way as the coin counting machine, determine which coin it is and
|
||||
return its value in cents:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user