You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 14:17:34 +02:00
Mention that there are other receiver types
This commit is contained in:
@ -13,3 +13,5 @@ are other possible receivers for a method:
|
||||
transmitted.
|
||||
* No receiver: this becomes a static method on the struct. Typically used to
|
||||
create constructors which are called `new` by convention.
|
||||
|
||||
There are even more types, e.g., `Box<Self>`.
|
||||
|
Reference in New Issue
Block a user