Closed
Description
https://doc.rust-lang.org/std/keyword.move.html states:
move
converts any variables captured by reference or mutable reference to owned by value variables. The threeFn
trait's mirror the ways to capture variables, whenmove
is used, the closures [sic] is represented by theFnOnce
trait.
The second half of the second sentence is plain wrong and causes confusion.
@rustbot modify labels: T-doc, T-libs, C-enhancement. (Is tagging T-doc still reasonable?)
This issue has been assigned to @poliorcetics via this comment.