X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/4f61be32dd480f23a7fef05ee66c42ae27c980c6..7c63fce3ed1474437f62a5f14cbd9fa398ec9abe:/workspace/src/part07.rs diff --git a/workspace/src/part07.rs b/workspace/src/part07.rs index 0130637..e2796b4 100644 --- a/workspace/src/part07.rs +++ b/workspace/src/part07.rs @@ -1,5 +1,3 @@ -// ***Remember to enable/add this part in `main.rs`!*** - // Rust-101, Part 07: Operator Overloading, Tests, Formatting // ========================================================== @@ -20,7 +18,7 @@ pub fn vec_min(v: &Vec) -> Option<&T> { // **Exercise 07.1**: For our `vec_min` to be usable with `BigInt`, you will have to provide an implementation of // `Minimum`. You should be able to pretty much copy the code you wrote for exercise 06.1. You should *not* -// make any copies! +// make any copies of `BigInt`! impl Minimum for BigInt { fn min<'a>(&'a self, other: &'a Self) -> &'a Self { unimplemented!()