mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Made lint pedantic
This commit is contained in:
parent
49dff2c9f3
commit
c1e57402d3
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ declare_clippy_lint! {
|
||||||
/// pub fn foo<T>(t: T) where T: Copy + Clone {}
|
/// pub fn foo<T>(t: T) where T: Copy + Clone {}
|
||||||
/// ```
|
/// ```
|
||||||
pub TYPE_REPETITION_IN_BOUNDS,
|
pub TYPE_REPETITION_IN_BOUNDS,
|
||||||
complexity,
|
pedantic,
|
||||||
"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: _`"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue