Skip to content

Commit 8d01878

Browse files
adetaylorteor2345
andauthored
Update text/3519-arbitrary-self-types-v2.md
Clarify a long sentence Co-authored-by: teor <teor@riseup.net>
1 parent b367f59 commit 8d01878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3519-arbitrary-self-types-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ impl<T> Receiver for CustomPtr<T> {
188188

189189
## Recursive arbitrary receivers
190190

191-
Receivers are recursive and therefore allowed to be nested. If type `T` implements `Receiver<Target=U>`, and type `U` implements `Receiver<Target=Self>`, `T` is a valid receiver (and so on outward). This is the behavior for the current special-cased self types (`Pin`, `Box` etc.) so as we remove the special-casing we need to retain this property.
191+
Receivers are recursive and therefore allowed to be nested. If type `T` implements `Receiver<Target=U>`, and type `U` implements `Receiver<Target=Self>`, `T` is a valid receiver (and so on outward). This is the behavior for the current special-cased self types (`Pin`, `Box` etc.), so as we remove the special-casing, we need to retain this property.
192192

193193
For example, this self type is valid:
194194

0 commit comments

Comments
 (0)