Skip to content

Commit

Permalink
Update trait bound error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Hsu committed May 29, 2022
1 parent c27951b commit 3566b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clippy_lints/src/trait_bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ declare_clippy_lint! {
#[clippy::version = "1.38.0"]
pub TYPE_REPETITION_IN_BOUNDS,
nursery,
"Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
"types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
}

declare_clippy_lint! {
Expand Down Expand Up @@ -67,7 +67,7 @@ declare_clippy_lint! {
#[clippy::version = "1.47.0"]
pub TRAIT_DUPLICATION_IN_BOUNDS,
nursery,
"Check if the same trait bounds are specified twice during a function declaration"
"check if the same trait bounds are specified twice during a function declaration"
}

declare_clippy_lint! {
Expand Down Expand Up @@ -96,7 +96,7 @@ declare_clippy_lint! {
#[clippy::version = "1.62.0"]
pub REPEATED_WHERE_CLAUSES_OR_TRAIT_BOUNDS,
nursery,
"Traits are repeated within trait bounds or where clause"
"traits are repeated within trait bounds or where clause"
}

#[derive(Copy, Clone)]
Expand Down

0 comments on commit 3566b58

Please sign in to comment.