X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/4f61be32dd480f23a7fef05ee66c42ae27c980c6..9ae2b045dd1772c02f7013953dd4108a99bd2c74:/workspace/src/part06.rs 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 {