mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user