diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 08434a8..2a22bb8 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -16,10 +16,12 @@ - [Control flow with `if`](if.md) - [Loops](loops.md) -- [Ownership & borrowing]() +- [Understanding Ownership](understanding-ownership.md) - [Ownership]() - [References & Borrowing]() - - [Lifetimes]() + - [Memory Layout]() + - [Slices]() + - [Advanced: Lifetimes]() - [Structs](structs.md) - [Method Syntax]() diff --git a/src/understanding-ownership.md b/src/understanding-ownership.md new file mode 100644 index 0000000..2b2eb43 --- /dev/null +++ b/src/understanding-ownership.md @@ -0,0 +1,6 @@ +# Understanding Ownership + +Now that we’ve got some basic syntax under our belt, it’s time to take a look +at Rust’s most unique feature: ownership. We’ll also talk about several related +features: borrowing, slices, and lifetimes, as well as how Rust lays things out +in memory.