Skip to content

Commit 61e4422

Browse files
author
Allen Hsu
committed
Update trait bound error messages.
1 parent 7917028 commit 61e4422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/trait_bounds.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ declare_clippy_lint! {
3636
#[clippy::version = "1.38.0"]
3737
pub TYPE_REPETITION_IN_BOUNDS,
3838
nursery,
39-
"Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
39+
"types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
4040
}
4141

4242
declare_clippy_lint! {
@@ -66,7 +66,7 @@ declare_clippy_lint! {
6666
#[clippy::version = "1.47.0"]
6767
pub TRAIT_DUPLICATION_IN_BOUNDS,
6868
nursery,
69-
"Check if the same trait bounds are specified twice during a function declaration"
69+
"check if the same trait bounds are specified twice during a function declaration"
7070
}
7171

7272
declare_clippy_lint! {
@@ -95,7 +95,7 @@ declare_clippy_lint! {
9595
#[clippy::version = "1.62.0"]
9696
pub REPEATED_WHERE_CLAUSES_OR_TRAIT_BOUNDS,
9797
pedantic,
98-
"Traits are repeated within trait bounds or where clause"
98+
"traits are repeated within trait bounds or where clause"
9999
}
100100

101101
#[derive(Copy, Clone)]

0 commit comments

Comments
 (0)