mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-24 08:00:24 +08:00
commit
224a3eac55
@ -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