Lesson 2: comment on the example

Daniel Tanaka 7 months ago
parent f10f104046 commit c8b8a2cb2f76d7944e0df228b90e788745af239d
1 changed files with 2 additions and 0 deletions
+2-0lessons/02-ownership-who-frees-the-memory/src/main.rs
@@ -12,3 +12,5 @@
1212 let b = a.clone(); // an explicit, visible copy
1313 println!("{a} / {b}");
1414 }
15+
16+// This is the version we use in the video.