diff --git a/src/ch08-01-vectors.md b/src/ch08-01-vectors.md index 8155ced3f..fb514f9a3 100644 --- a/src/ch08-01-vectors.md +++ b/src/ch08-01-vectors.md @@ -146,7 +146,7 @@ v.push(6); Compiling this will give us this error: -``` +```text error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable |