Skip to content

Glossary: Rust Basics

Move

Also written: moved, moves, value moved

Handing a value's ownership to another variable or a function, as in `let ticket = order;`. The old variable can't be used afterwards, which prevents freeing memory twice.

Where the book teaches it

Related terms

OwnerCopyClone