Skip to content

Commit 63f39a6

Browse files
committed
Rollup merge of #25379 - mpark:trpl, r=alexcrichton
2 parents a96f09b + ee57f28 commit 63f39a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ data, we call the `clone()` method. In this example, `y` is no longer a referenc
175175
to the vector stored in `x`, but a copy of its first element, `"Hello"`. Now
176176
that we don’t have a reference, our `push()` works just fine.
177177

178-
[move]: move-semantics.html
178+
[move]: ownership.html#move-semantics
179179

180180
If we truly want a reference, we need the other option: ensure that our reference
181181
goes out of scope before we try to do the mutation. That looks like this:

0 commit comments

Comments
 (0)