about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-09-30 18:20:04 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-09-30 18:20:04 -0400
commitf8c8c8c07d9d8d0626faae2231ac09aeacb435f5 (patch)
treeac53e7c507aa20a1675b7499f6ea64cedb7e9247
parent0f6cea9a86412b83676c8d500b081dda02a4530e (diff)
parentf6f31dd14382d207be8e08229ec783033e28bc0d (diff)
Rollup merge of #28772 - tshepang:improve-paragraph, r=steveklabnik
-rw-r--r--src/doc/trpl/the-stack-and-the-heap.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/the-stack-and-the-heap.md b/src/doc/trpl/the-stack-and-the-heap.md
index aca736ef2ac..f2f9198d312 100644
--- a/src/doc/trpl/the-stack-and-the-heap.md
+++ b/src/doc/trpl/the-stack-and-the-heap.md
@@ -41,8 +41,8 @@ and just consider the local variables we’re allocating. So in this case, when
 This is automatically handled for you, as you can see; we didn’t have to write
 any special Rust code or anything.
 
-When the function is over, its stack frame gets deallocated. This happens
-automatically, we didn’t have to do anything special here.
+When the function exits, its stack frame gets deallocated. This happens
+automatically as well.
 
 That’s all there is for this simple program. The key thing to understand here
 is that stack allocation is very, very fast. Since we know all the local