▲ | kyleee 14 hours ago | |
Quirky and awesome | ||
▲ | kmarc 7 hours ago | parent [-] | |
If you think about it, it's the mirrored version of python object/class methods: they receive the object (self) / class (cls) as the first parameter. Same with Rust's trait impl's methods. |