From b345aa9cbf4881577f90f199a5a05b51a4ceda59 Mon Sep 17 00:00:00 2001 From: Todd Thomas Date: Mon, 16 Nov 2015 17:52:41 -0700 Subject: [PATCH] Fix typo in hint for move_semantics1.rs. When I compile the unedited example in the playground, I get the error on line 10, not line 8. That's the case for stable, beta, and nightly. --- move_semantics/move_semantics1.rs | 4 ++-- 1 file 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) -> Vec { -// 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.