Skip to content

Commit

Permalink
Made lint pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
xd009642 committed Aug 17, 2019
1 parent 49dff2c commit c1e5740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/trait_bounds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ declare_clippy_lint! {
/// pub fn foo<T>(t: T) where T: Copy + Clone {}
/// ```
pub TYPE_REPETITION_IN_BOUNDS,
complexity,
pedantic,
"Types are repeated unnecessary in trait bounds use `+` instead of using `T: _, T: _`"
}

Expand Down

0 comments on commit c1e5740

Please sign in to comment.