From 571f6cf29ae181098e3aff43a5f8e345be6708e9 Mon Sep 17 00:00:00 2001 From: DJUrsus Date: Sat, 5 Jul 2014 14:05:15 -0700 Subject: [PATCH] fix variable name in tutorial --- src/doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index b6485f711ee..b0ce038cf57 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -1503,7 +1503,7 @@ reference. We also call this _borrowing_ the local variable `on_the_stack`, because we are creating an alias: that is, another route to 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.