Skip to content

Commit

Permalink
Remove #[allow] for fixed clippy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamofek authored and dtolnay committed Nov 3, 2024
1 parent 851f694 commit 144b3b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion impl/src/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ impl InferredBounds {
}
}

#[allow(clippy::type_repetition_in_bounds, clippy::trait_duplication_in_bounds)] // clippy bug: https://github.com/rust-lang/rust-clippy/issues/8771
pub fn insert(&mut self, ty: impl ToTokens, bound: impl ToTokens) {
let ty = ty.to_token_stream();
let bound = bound.to_token_stream();
Expand Down

0 comments on commit 144b3b6

Please sign in to comment.