From ca18c12243589fc3662d9d6b6f75686518994f2b Mon Sep 17 00:00:00 2001 From: Michael Matuzak Date: Fri, 25 Jul 2014 21:13:39 -0700 Subject: [PATCH] fix small typo in guide-lifetimes --- src/doc/guide-lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide-lifetimes.md b/src/doc/guide-lifetimes.md index a6cc9cd0bc281..b7e8c8b0d486d 100644 --- a/src/doc/guide-lifetimes.md +++ b/src/doc/guide-lifetimes.md @@ -77,7 +77,7 @@ value. We also call this _borrowing_ the local variable `on_the_stack`, because we have created an alias: that is, another name for the same data. -Likewise, in the case of `owned_box`, +Likewise, in the case of `on_the_heap`, the `&` operator is used in conjunction with the `*` operator to take a reference to the contents of the box.