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:
parent
4c8d85dc88
commit
93b20be600
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user