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
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user