X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/4f61be32dd480f23a7fef05ee66c42ae27c980c6..29ed03832973473f6e38d6d8af2db0329209bab4:/workspace/src/part06.rs?ds=sidebyside diff --git a/workspace/src/part06.rs b/workspace/src/part06.rs index 8b69022..a62560e 100644 --- a/workspace/src/part06.rs +++ b/workspace/src/part06.rs @@ -24,8 +24,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 {