diff --git a/borrowed/README.md b/borrowed/README.md index 30398f0..49fef7c 100644 --- a/borrowed/README.md +++ b/borrowed/README.md @@ -100,7 +100,7 @@ fn foo() { xr = &mut y; // Ok let mut x = 5; - let mut y = 6; + let y = 6; let mut xr = &x; xr = &y; // Ok - xr is mut, even though the referenced data is not }