From fdf26a776f27e4059c8e7ccec0926a94edb72fd4 Mon Sep 17 00:00:00 2001 From: sahennenkamp <91508060+sahennenkamp@users.noreply.github.com> Date: Fri, 13 Jan 2023 14:45:47 -0800 Subject: [PATCH] Hint towards making library mut Follow up to https://github.com/google/comprehensive-rust/pull/137 Gives the student a hint that it's okay to edit variables within main. --- src/exercises/day-1/book-library.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/exercises/day-1/book-library.rs b/src/exercises/day-1/book-library.rs index cab1879f..284045aa 100644 --- a/src/exercises/day-1/book-library.rs +++ b/src/exercises/day-1/book-library.rs @@ -98,7 +98,8 @@ impl Library { // ANCHOR: main // This shows the desired behavior. Uncomment the code below and // implement the missing methods. You will need to update the -// method signatures, including the "self" parameter! +// method signatures, including the "self" parameter! You may +// also need to update the variable bindings within main. fn main() { let library = Library::new();