Skip to content

Commit 9723f96

Browse files
author
Allen Hsu
committed
Update description of trait_duplication_in_bounds.
1 parent b831257 commit 9723f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/trait_bounds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ declare_clippy_lint! {
8282
#[clippy::version = "1.47.0"]
8383
pub TRAIT_DUPLICATION_IN_BOUNDS,
8484
nursery,
85-
"check if the same trait bounds are specified twice during a function declaration"
85+
"check if the same trait bounds are specified more than once during a generic declaration"
8686
}
8787

8888
#[derive(Copy, Clone)]

0 commit comments

Comments
 (0)