From 91e54812185230e013204d6e3a0c52d65d22b00a Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 30 Apr 2015 13:41:26 -0400 Subject: [PATCH] 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 --- src/doc/trpl/unsized-types.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/doc/trpl/unsized-types.md b/src/doc/trpl/unsized-types.md index 756abeff06d35..b1a2bb5d4172f 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