added(move_semantics): first possible solution, but no idea how to solve it differently ;///////////

This commit is contained in:
Tomasz Waszczyk 2022-06-18 01:34:18 +02:00
parent 558dacfa2b
commit fa90ef60ee
No known key found for this signature in database
GPG Key ID: D2B26226E770BBAA

View File

@ -9,6 +9,7 @@ fn main() {
let mut vec1 = fill_vec(vec0);
let vec0 = vec1.clone();
// Do not change the following line!
println!("{} has length {} content `{:?}`", "vec0", vec0.len(), vec0);