X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/4f61be32dd480f23a7fef05ee66c42ae27c980c6..cb170f41304c809a22de172621845e637e28b8d2:/workspace/src/part06.rs?ds=inline diff --git a/workspace/src/part06.rs b/workspace/src/part06.rs index 8b69022..7288327 100644 --- a/workspace/src/part06.rs +++ b/workspace/src/part06.rs @@ -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) -> Option { let mut min: Option = None; for e in v {