Skip to content

Glossary: Rust Basics

Drop

Also written: dropped

Handing a value's memory back when its owner goes out of scope. Rust does this automatically, exactly once.

Where the book teaches it

Related terms

OwnerScopeHeap