-// ***Remember to enable/add this part in `main.rs`!***
-
// Rust-101, Part 06: Copy, Lifetimes
// ==================================
// Now we can write `vec_min`.
fn vec_min(v: &Vec<BigInt>) -> Option<BigInt> {
let mut min: Option<BigInt> = None;
+ // If `v` is a shared borrowed vector, then the default for iterating over it is to call `iter`, the iterator that borrows the elements.
for e in v {
+ let e = e.clone();
unimplemented!()
}
min