Skip to content

Commit ef7fac2

Browse files
committed
docs: improve description for needless_traits_in_scope
1 parent 02db985 commit ef7fac2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/needless_traits_in_scope.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ declare_clippy_lint! {
1414
/// It also helps identify the traits in `use` statements.
1515
///
1616
/// ### Why is this bad?
17-
/// This needlessly brings a trait in trait's namespace.
17+
/// This needlessly brings a trait in trait's namespace, where it could
18+
/// shadow other things. This is not really a problem, this lint is just
19+
/// for those who like to keep things tidy.
1820
///
1921
/// ### Example
2022
/// ```rust

0 commit comments

Comments
 (0)