Fix broken link in TRPL: introduction

Fixes #26312
This commit is contained in:
Steve Klabnik 2015-06-15 12:31:40 -04:00
parent 750f2c63f2
commit f84ad0a001

View File

@ -175,7 +175,7 @@ data, we call the `clone()` method. In this example, `y` is no longer a referenc
to the vector stored in `x`, but a copy of its first element, `"Hello"`. Now
that we dont have a reference, our `push()` works just fine.
[move]: move-semantics.html
[move]: ownership.html#move-semantics
If we truly want a reference, we need the other option: ensure that our reference
goes out of scope before we try to do the mutation. That looks like this: