Made lint pedantic
This commit is contained in:
parent
49dff2c9f3
commit
c1e57402d3
@ -24,7 +24,7 @@
|
|||||||
/// 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 New Issue
Block a user