Skip to content

Commit

Permalink
fix(move_semantics4): Small readbility improvement (#617)
Browse files Browse the repository at this point in the history
* Small readbility improvement move_semantics4 doc

* Remove `an` as it refers to the argument
  • Loading branch information
Therzok committed Jan 6, 2021
1 parent d2e7eca commit 1096592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/move_semantics/move_semantics4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() {
println!("{} has length {} content `{:?}`", "vec1", vec1.len(), vec1);
}

// `fill_vec()` no longer take `vec: Vec<i32>` as argument
// `fill_vec()` no longer takes `vec: Vec<i32>` as argument
fn fill_vec() -> Vec<i32> {
let mut vec = vec;

Expand Down

0 comments on commit 1096592

Please sign in to comment.