show some more code in the workspace
[rust-101.git] / workspace / src / part06.rs
index 15b55d25c1af07066b59699f7b19df48bb92216d..04a08478f87d428dc75fadc6c1111b9fabce8356 100644 (file)
@@ -27,6 +27,7 @@ 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