about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-01 11:12:16 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-01 20:20:19 +0530
commit4fda7e8b389dc0666921c95be324b2ea66a00853 (patch)
tree295b909948d894f8cb13c78974a63ab6eb7cad54
parent84a23be53751158dc88a7ce399ea5555cf3ea833 (diff)
parent91e54812185230e013204d6e3a0c52d65d22b00a (diff)
downloadrust-4fda7e8b389dc0666921c95be324b2ea66a00853.tar.gz
rust-4fda7e8b389dc0666921c95be324b2ea66a00853.zip
Rollup merge of #24991 - steveklabnik:gh24852, r=alexcrichton
First, a link was broken.

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

Fixes #24852
-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