Skip to content

Commit

Permalink
Rollup merge of rust-lang#24991 - steveklabnik:gh24852, r=alexcrichton
Browse files Browse the repository at this point in the history
First, a link was broken.

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

Fixes rust-lang#24852
  • Loading branch information
Manishearth committed May 1, 2015
2 parents a2b3585 + 91e5481 commit f157525
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/doc/trpl/unsized-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f157525

Please sign in to comment.