about summary refs log tree commit diff
path: root/src/doc/trpl
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-04-30 13:41:26 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-04-30 13:41:26 -0400
commit91e54812185230e013204d6e3a0c52d65d22b00a (patch)
tree063322368613321752c4895cd50ec6578cffd3e8 /src/doc/trpl
parent2f613bfaeb81ce25b116835a5f09750384b888c7 (diff)
downloadrust-91e54812185230e013204d6e3a0c52d65d22b00a.tar.gz
rust-91e54812185230e013204d6e3a0c52d65d22b00a.zip
Fix two issues with TRPL: unsized types
First, a link was broken.

Second, the wording was a bit unclear, so I fixed it up.

Fixes #24852
Diffstat (limited to 'src/doc/trpl')
-rw-r--r--src/doc/trpl/unsized-types.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doc/trpl/unsized-types.md b/src/doc/trpl/unsized-types.md
index 756abeff06d..b1a2bb5d417 100644
--- a/src/doc/trpl/unsized-types.md
+++ b/src/doc/trpl/unsized-types.md
@@ -38,9 +38,11 @@ impl Foo for &str {
 ```
 
 Meaning, this implementation would only work for [references][ref], and not
-other types of pointers. With this `impl`, all pointers, including (at some
-point, there are some bugs to fix first) user-defined custom smart pointers,
-can use this `impl`.
+other types of pointers. With the `impl for str`, all pointers, including (at
+some point, there are some bugs to fix first) user-defined custom smart
+pointers, can use this `impl`.
+
+[ref]: references-and-borrowing.html
 
 # ?Sized