blob: 52eda6a12f0a69dbbead2ac2b38818c401e25f88 [file] [log] [blame] [view]
# Understanding Ownership
Ownership is Rusts most unique feature and has deep implications for the rest
of the language. It enables Rust to make memory safety guarantees without
needing a garbage collector, so its important to understand how ownership
works. In this chapter, well talk about ownership as well as several related
features: borrowing, slices, and how Rust lays data out in memory.