mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Apply suggestion
This commit is contained in:
parent
2a3f75b0b8
commit
e1a3f635fc
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ If neither diagnostic item nor a language item is available, we can use
|
|||
[`clippy_utils::paths`][paths] with the `match_trait_method` to determine trait
|
||||
implementation.
|
||||
|
||||
> **Note**: This approach should be avoided if possible, the best thing to do would be to make a PR to [`rust-lang/rust`][rust].
|
||||
> **Note**: This approach should be avoided if possible, the best thing to do would be to make a PR to [`rust-lang/rust`][rust] adding a diagnostic item.
|
||||
|
||||
Below, we check if the given `expr` implements the `Iterator`'s trait method `cloned` :
|
||||
|
||||
|
|
Loading…
Reference in a new issue