Skip to content

Commit 6e2ec70

Browse files
author
Allen Hsu
committed
Update trait bound error messages.
1 parent 5e328d7 commit 6e2ec70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/trait_bounds.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
#[clippy::version = "1.38.0"]
3838
pub TYPE_REPETITION_IN_BOUNDS,
3939
nursery,
40-
"Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
40+
"types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
4141
}
4242

4343
declare_clippy_lint! {
@@ -67,7 +67,7 @@ declare_clippy_lint! {
6767
#[clippy::version = "1.47.0"]
6868
pub TRAIT_DUPLICATION_IN_BOUNDS,
6969
nursery,
70-
"Check if the same trait bounds are specified twice during a function declaration"
70+
"check if the same trait bounds are specified twice during a function declaration"
7171
}
7272

7373
declare_clippy_lint! {
@@ -96,7 +96,7 @@ declare_clippy_lint! {
9696
#[clippy::version = "1.62.0"]
9797
pub REPEATED_WHERE_CLAUSES_OR_TRAIT_BOUNDS,
9898
pedantic,
99-
"Traits are repeated within trait bounds or where clause"
99+
"traits are repeated within trait bounds or where clause"
100100
}
101101

102102
#[derive(Copy, Clone)]

0 commit comments

Comments
 (0)