From b0bb804411340372efb853cd88847fe61fc7a16e Mon Sep 17 00:00:00 2001 From: "Havvy (Ryan Scheel)" Date: Tue, 26 Jan 2021 14:59:38 -0800 Subject: [PATCH] Remove "Memory Ownership" chapter It's a holdover from pre-Rust 1.0 when the reference was the main document to understand anything about the language. Its contents are completely meaningless and to avoid having hopeful people step into this useless page and have their hopes smashed, we are removing it. --- src/SUMMARY.md | 1 - src/memory-ownership.md | 4 ---- 2 files changed, 5 deletions(-) delete mode 100644 src/memory-ownership.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 4bce2f221..e89fe0f08 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -111,7 +111,6 @@ - [Memory model](memory-model.md) - [Memory allocation and lifetime](memory-allocation-and-lifetime.md) - - [Memory ownership](memory-ownership.md) - [Variables](variables.md) - [Linkage](linkage.md) diff --git a/src/memory-ownership.md b/src/memory-ownership.md deleted file mode 100644 index aed07ef29..000000000 --- a/src/memory-ownership.md +++ /dev/null @@ -1,4 +0,0 @@ -## Memory ownership - -When a stack frame is exited, its local allocations are all released, and its -references to boxes are dropped.