We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4950c6 + 6450eee commit 41ad35aCopy full SHA for 41ad35a
src/trait/clone.md
@@ -30,9 +30,9 @@ fn main() {
30
let pair = Pair(Box::new(1), Box::new(2));
31
println!("original: {:?}", pair);
32
33
- // Copy `pair` into `moved_pair`, moves resources
+ // Move `pair` into `moved_pair`, moves resources
34
let moved_pair = pair;
35
- println!("copy: {:?}", moved_pair);
+ println!("moved: {:?}", moved_pair);
36
37
// Error! `pair` has lost its resources
38
//println!("original: {:?}", pair);
0 commit comments