From Dev.to
Rust for Gophers, Lesson 2: Ownership and Borrowing
1. Why ownership exists Ownership is how Rust frees memory without a garbage collector and without you calling free. The compiler works out, at compile time, exactly where each heap value is freed....
