Skip to content

Commit

Permalink
Ignore implied_bounds_in_impls clippy lint
Browse files Browse the repository at this point in the history
    error: this bound is already specified as the supertrait of `DoubleEndedIterator`
      --> src/range.rs:58:15
       |
    58 |     ) -> impl Iterator<Item = char> + DoubleEndedIterator + ExactSizeIterator + 'a {
       |               ^^^^^^^^^^^^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
    help: try removing this bound
       |
    58 -     ) -> impl Iterator<Item = char> + DoubleEndedIterator + ExactSizeIterator + 'a {
    58 +     ) -> impl DoubleEndedIterator + ExactSizeIterator + 'a {
       |
  • Loading branch information
dtolnay committed Aug 30, 2023
1 parent 8595e61 commit 233aa8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
clippy::cloned_instead_of_copied, // https://github.com/rust-lang/rust-clippy/issues/7127
clippy::collapsible_else_if,
clippy::comparison_chain,
clippy::implied_bounds_in_impls,
clippy::items_after_test_module, // https://github.com/rust-lang/rust-clippy/issues/10713
clippy::let_underscore_untyped,
clippy::match_same_arms,
Expand Down

0 comments on commit 233aa8f

Please sign in to comment.