Made lint pedantic

This commit is contained in:
xd009642 2019-08-17 11:45:05 +01:00
parent 49dff2c9f3
commit c1e57402d3

View file

@ -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: _`"
} }