(no title)
someone_19 | 7 months ago
let a <= String::from("Hi");
let b <= a;
let j = 0; // Copy
let k = j;
This may not be convenient, but it could be useful for educational purposes.
someone_19 | 7 months ago
let a <= String::from("Hi");
let b <= a;
let j = 0; // Copy
let k = j;
This may not be convenient, but it could be useful for educational purposes.
steveklabnik|7 months ago
someone_19|7 months ago
Now I have a clear understanding of what is happening and how.
Nevertheless, using something like this for educational purposes maybe could help. Author of the article In the example with Id literally complains that moving makes moving.