Lesson 2: comment on the example
1 changed files with 2 additions and 0 deletions
lessons/02-ownership-who-frees-the-memory/src/main.rs
| @@ -12,3 +12,5 @@ | ||
| 12 | 12 | let b = a.clone(); // an explicit, visible copy |
| 13 | 13 | println!("{a} / {b}"); |
| 14 | 14 | } |
| 15 | + | |
| 16 | +// This is the version we use in the video. | |