diff options
| author | blyxyas <blyxyas@gmail.com> | 2023-09-02 11:23:27 +0200 |
|---|---|---|
| committer | blyxyas <blyxyas@gmail.com> | 2023-09-02 11:23:27 +0200 |
| commit | e1a3f635fcdbac410449c869416af9ebd3fee2f5 (patch) | |
| tree | 53631c7e33f8b1fcdb49b7bf7f8a9d4ad1b0ee11 | |
| parent | 2a3f75b0b8405428fa7ac0985a96b2866fc3de17 (diff) | |
Apply suggestion
| -rw-r--r-- | book/src/development/trait_checking.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/development/trait_checking.md b/book/src/development/trait_checking.md index cee4b0df498..fb263922cf8 100644 --- a/book/src/development/trait_checking.md +++ b/book/src/development/trait_checking.md @@ -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` : |
