summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--move_semantics/move_semantics1.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/move_semantics/move_semantics1.rs b/move_semantics/move_semantics1.rs
index f109765..a69ff90 100644
--- a/move_semantics/move_semantics1.rs
+++ b/move_semantics/move_semantics1.rs
@@ -37,6 +37,6 @@ fn fill_vec(vec: Vec<i32>) -> Vec<i32> {
-// So you've got the "cannot borrow immutable local variable `vec1` as mutable" error on line 8,
-// right? The fix for this is going to be adding one keyword, and the addition is NOT on line 8
+// So you've got the "cannot borrow immutable local variable `vec1` as mutable" error on line 10,
+// right? The fix for this is going to be adding one keyword, and the addition is NOT on line 10
// where the error is.