add all the parts in workspace's main.rs
[rust-101.git] / workspace / src / part06.rs
index 8b69022bfa3792ffefebbe1ff9bb37d5bf5edbf9..72883277ab6304aa4bd7ec0ff8d38b05dac7488a 100644 (file)
@@ -1,5 +1,3 @@
-// ***Remember to enable/add this part in `main.rs`!***
-
 // Rust-101, Part 06: Copy, Lifetimes
 // ==================================
 
@@ -24,8 +22,7 @@ impl BigInt {
     }
 }
 
-// Now we can write `vec_min`. However, in order to make it type-check, we have to make a full (deep) copy of e
-// by calling `clone()`.
+// Now we can write `vec_min`.
 fn vec_min(v: &Vec<BigInt>) -> Option<BigInt> {
     let mut min: Option<BigInt> = None;
     for e in v {