X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/1f6a5ed7a44ed00827fd3312503f20b8f52f94db..4b75a1808a0ee75383f81659f6262fefc7047a09:/workspace/src/part06.rs diff --git a/workspace/src/part06.rs b/workspace/src/part06.rs index 15b55d2..04a0847 100644 --- a/workspace/src/part06.rs +++ b/workspace/src/part06.rs @@ -27,6 +27,7 @@ fn vec_min(v: &Vec) -> Option { let mut min: Option = 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