1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-05-20 01:13:14 +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 GitHub
parent 74e2ba6acd
commit fdf26a776f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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