News for hackers. Stuff that matters.
Re:A half-hour to learn Rust by momothereal on Saturday January 02, 2021 @04:47PM (#25616868)
In this closure you are moving `answer`, that is, you are moving the reference itself into scope. The `challenge` reference is already owned by the closure since it's a parameter. The move doesn't mean the closure owns the underlying strings, but the references themselves.

There are no comments on this comment yet.