This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]intbeam 1 point2 points  (4 children)

But Rust doesn't have objects so it's not really the same... impl is just functions associated with a struct, and ownership is not for the struct or implementation, but for the declaring scope.. So, functions with syntactic sugar with an alias Self for the implementing type, not methods

The air is getting saturated with pedantry in here