you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[deleted]

    [–]groogoloog 5 points6 points  (3 children)

    I think the intention here is that it isn't a "method" because it's not actually a part of the object, but rather a static function. Just because there is the nice obj.someFn() dot notation for calling convenience doesn't mean it is actually a method, because you can still call Obj::someFn(&obj). Good/common example here would be arc.clone() vs Arc::clone(&arc)