From f84ad0a001b3e47c59a7586907717d030137569d Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 15 Jun 2015 12:31:40 -0400 Subject: [PATCH] Fix broken link in TRPL: introduction Fixes #26312 --- src/doc/trpl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/README.md b/src/doc/trpl/README.md index 89f0db8dc56..9ca5de2b50a 100644 --- a/src/doc/trpl/README.md +++ b/src/doc/trpl/README.md @@ -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 don’t 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: