fix(move_semantics4): Small readbility improvement (#617)

* Small readbility improvement move_semantics4 doc

* Remove `an` as it refers to the argument
This commit is contained in:
Marius Ungureanu 2021-01-06 11:12:33 +02:00 committed by GitHub
parent d2e7ecabd8
commit 10965920fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fn main() {
println!("{} has length {} content `{:?}`", "vec1", vec1.len(), vec1); 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> { fn fill_vec() -> Vec<i32> {
let mut vec = vec; let mut vec = vec;