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
This commit is contained in:
parent
2f613bfaeb
commit
91e5481218
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user