mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
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:
parent
d2e7ecabd8
commit
10965920fb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue