X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/bbd22a3d23af1ea8186c7a3bf733a07ba1f8ff70..ff4d137ae8e7a6f126d845084009ebdfc990aa47:/workspace/src/part05.rs diff --git a/workspace/src/part05.rs b/workspace/src/part05.rs index d3c9544..f1c5587 100644 --- a/workspace/src/part05.rs +++ b/workspace/src/part05.rs @@ -59,7 +59,7 @@ impl Clone for SomethingOrNothing { } // **Exercise 05.2**: Write some more functions on `BigInt`. What about a function that returns the number of -// digits? The number of non-zero digits? The smallest/largest digit? +// digits? The number of non-zero digits? The smallest/largest digit? Of course, these should all just borrow `self`. // ## Mutation + aliasing considered harmful (part 2) enum Variant {