by someone_19 · 1y ago · 0 comments
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.
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.