Glossary: Software Design Patterns in Rust
RAII (Resource Acquisition Is Initialization)
Also written: RAII
Tying cleanup to a value's life: Rust calls `drop` when the value goes out of scope, as with Receipt printing "closing".
Glossary: Software Design Patterns in Rust
Also written: RAII
Tying cleanup to a value's life: Rust calls `drop` when the value goes out of scope, as with Receipt printing "closing".