Summary
In this chapter, we dove into the most common containers in the standard library and examined their owned and borrowed versions. We learned what each container is for and saw examples of their use. Along the way, we learned about several important traits, including Debug, From, Into, AsRef, Deref, Eq, Hash, and Ord.
In the next chapter, we'll continue our journey into the Rust standard library as we take a look at Rust's approach to file I/O.
Get this book's PDF version and more
Scan the QR code (or go to packtpub.com/unlock). Search for this book by name, confirm the edition, and then follow the steps on the page.


Note: Keep your invoice handy. Purchases made directly from Packt don't require an invoice.