Glossary coding Term Page
drop
The automatic cleanup Rust performs when a variable leaves scope
Core Idea
drop is The automatic cleanup Rust performs when a variable leaves scope. It usually makes the most sense alongside Scope, move, Copy trait.
Why It Matters Here
Mathbong reuses this term across rust posts as shared vocabulary.