Skip to content

Commit d4dfb7d

Browse files
committed
auto merge of #16000 : emkay/rust/lifetimes-guide-typo, r=alexcrichton
2 parents 7aa4079 + ca18c12 commit d4dfb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide-lifetimes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ value. We also call this _borrowing_ the local variable
7777
`on_the_stack`, because we have created an alias: that is, another
7878
name for the same data.
7979

80-
Likewise, in the case of `owned_box`,
80+
Likewise, in the case of `on_the_heap`,
8181
the `&` operator is used in conjunction with the `*` operator
8282
to take a reference to the contents of the box.
8383

0 commit comments

Comments
 (0)