Ownership in Rust
Every value has exactly one owner; when the owner goes out of scope the value is freed deterministically. This replaces both a garbage collector and manual free() as the memory-reclamation strategy.
This Concept is waiting for its first lesson!
Every value has exactly one owner; when the owner goes out of scope the value is freed deterministically. This replaces both a garbage collector and manual free() as the memory-reclamation strategy.
Are you a teacher? Sign in to start contributing.
Sign In