Skip to content

Commit b962d2d

Browse files
Update text/3519-arbitrary-self-types-v2.md
Co-authored-by: Josh Triplett <[email protected]>
1 parent 12eac0b commit b962d2d

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
@@ -148,7 +148,7 @@ Aside from these differences, Arbitrary Self Types v2 is similar to the existing
148148
# Guide-level explanation
149149
[guide-level-explanation]: #guide-level-explanation
150150

151-
When declaring a method, users can declare the type of the `self` receiver to be any type `T` where `T: Receiver<Target = Self>` or `Self`.
151+
When declaring a method, users can also declare the type of the `self` receiver to be any type `T` where `T: Receiver<Target = Self>`, in addition to using `Self` by value or reference.
152152

153153
The `Receiver` trait is simple and only requires specifying the `Target` type:
154154

0 commit comments

Comments
 (0)