Function clippy_utils::match_trait_method
source · [−]Expand description
Checks if the method call given in expr belongs to the given trait.
This is a deprecated function, consider using is_trait_method.
Checks if the method call given in expr belongs to the given trait.
This is a deprecated function, consider using is_trait_method.