Tour of Rust Table of Contents

Dropping is Hierarchical

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

Memory Details: