Small readbility improvement move_semantics4 doc

This commit is contained in:
Marius Ungureanu 2021-01-06 03:52:59 +02:00 committed by GitHub
parent d2e7ecabd8
commit b877abb383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 an `vec: Vec<i32>` as argument
fn fill_vec() -> Vec<i32> {
let mut vec = vec;