Skip to content

Commit c1fb86d

Browse files
Fix spelling and grammar
1 parent 8e2fbd1 commit c1fb86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/anon_trait_imports.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ declare_clippy_lint! {
1717
/// Checks for `use Trait` where the Trait is only used for its methods and not referenced by a path directly.
1818
///
1919
/// ### Why is this bad?
20-
/// Traits imported that aren't used directly can be imported anonymously `use Trait as _`.
21-
/// It is more explicit, avoids polutting the current scope with unused names and can be useful to show which imports are required for traits.
20+
/// Traits imported that aren't used directly can be imported anonymously with `use Trait as _`.
21+
/// It is more explicit, avoids polluting the current scope with unused names and can be useful to show which imports are required for traits.
2222
///
2323
/// ### Example
2424
/// ```no_run

0 commit comments

Comments
 (0)