Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
→Rust usage of the term: link to nondeprecated url |
||
Line 56:
== Rust usage of the term ==
Until 2018 it was common to use this term when actually referring to ''[https://github.com/rust-lang/rfcs/issues/1140#issuecomment-108644620 qualified/explicit path syntax]'' and most commonly the ''[https://doc.rust-lang.org/1.30.0/book/2018-edition/ch19-03-advanced-traits.html?highlight=trait,function,call#fully-qualified-syntax-for-disambiguation-calling-methods-with-the-same-name Fully Qualified Path syntax].'': because it's possible to have several traits defining the same method implemented on the same struct, a mechanism is needed to disambiguate which trait should be used.
Member functions can also be used as free functions through a qualified (namespaced) path.
|