mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-03 07:48:41 +08:00
Add missing output line
This commit is contained in:
parent
ba94ced602
commit
1490bc6b27
@ -175,6 +175,7 @@ match name {
|
||||
|
||||
// name is not moved here; the match only took a reference to its data rather
|
||||
// than moving it
|
||||
println!("name is: {:?}", name);
|
||||
```
|
||||
|
||||
## Destructuring
|
||||
|
Loading…
Reference in New Issue
Block a user