News for hackers. Stuff that matters.
Re:The borrowchecker is what I like the least about Rust by steveklabnik on Monday July 21, 2025 @12:28PM (#44637095)
A long time ago, you would use the move keyword for this. The issue is that it’s just redundant, so it feels like unnecessary boilerplate.
Re:The borrowchecker is what I like the least about Rust by someone_19 on Monday July 21, 2025 @01:04PM (#44637570)
...and using it in function calls would also be inconvenient.

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.