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
|
Meaning, this implementation would only work for [references][ref], and not
|
||||||
other types of pointers. With this `impl`, all pointers, including (at some
|
other types of pointers. With the `impl for str`, all pointers, including (at
|
||||||
point, there are some bugs to fix first) user-defined custom smart pointers,
|
some point, there are some bugs to fix first) user-defined custom smart
|
||||||
can use this `impl`.
|
pointers, can use this `impl`.
|
||||||
|
|
||||||
|
[ref]: references-and-borrowing.html
|
||||||
|
|
||||||
# ?Sized
|
# ?Sized
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user