Skip to content

Commit f157525

Browse files
committed
Rollup merge of rust-lang#24991 - steveklabnik:gh24852, r=alexcrichton
First, a link was broken. Second, the wording was a bit unclear, so I fixed it up. Fixes rust-lang#24852
2 parents a2b3585 + 91e5481 commit f157525

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/doc/trpl/unsized-types.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ impl Foo for &str {
3838
```
3939

4040
Meaning, this implementation would only work for [references][ref], and not
41-
other types of pointers. With this `impl`, all pointers, including (at some
42-
point, there are some bugs to fix first) user-defined custom smart pointers,
43-
can use this `impl`.
41+
other types of pointers. With the `impl for str`, all pointers, including (at
42+
some point, there are some bugs to fix first) user-defined custom smart
43+
pointers, can use this `impl`.
44+
45+
[ref]: references-and-borrowing.html
4446

4547
# ?Sized
4648

0 commit comments

Comments
 (0)