X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/63b7a79069a399c32d575bb71832fcad134117c9..53ea4d72d5db48b56a9cb81397c7302653c74d0b:/workspace/src/part04.rs diff --git a/workspace/src/part04.rs b/workspace/src/part04.rs index 2a3a648..e0d522e 100644 --- a/workspace/src/part04.rs +++ b/workspace/src/part04.rs @@ -44,7 +44,7 @@ fn shared_ref_demo() { println!("The first element is: {}", *first); } -// ## Exclusive, mutable references +// ## Unique, mutable references fn vec_inc(v: &mut Vec) { for e in v.iter_mut() {