Uniform function call syntax: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
Rust usage of the term: removed extra "]"
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/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.