Skip to content

Commit 467024e

Browse files
colinvhJanrain-Colin
authored andcommitted
fix variable name in tutorial
1 parent 5ebf481 commit 467024e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ reference. We also call this _borrowing_ the local variable
15031503
`on_the_stack`, because we are creating an alias: that is, another
15041504
route to the same data.
15051505

1506-
Likewise, in the case of `owned_box`,
1506+
Likewise, in the case of `on_the_heap`,
15071507
the `&` operator is used in conjunction with the `*` operator
15081508
to take a reference to the contents of the box.
15091509

0 commit comments

Comments
 (0)