1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2024-12-12 05:24:12 +02:00

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.
This commit is contained in:
sahennenkamp 2023-01-13 14:45:47 -08:00 committed by Fabian Bornhofen
parent 4c8d85dc88
commit 93b20be600

View File

@ -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();