X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/63b7a79069a399c32d575bb71832fcad134117c9..a3a64118702b4f75691de78d42256c306f286014:/workspace/src/part04.rs?ds=sidebyside 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() {