move

Concept

In Rust, when a variable is assigned to another or passed to a function, ownership is 'moved'. The original variable becomes invalid to prevent double-free errors.

Mentioned in 1 video