From 144b3b690b3dcc9338cf5c61dede46c9bbebe4f8 Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Fri, 1 Nov 2024 13:47:37 +0000 Subject: [PATCH] Remove `#[allow]` for fixed clippy bug --- impl/src/generics.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/impl/src/generics.rs b/impl/src/generics.rs index 95592a73..254c2ed3 100644 --- a/impl/src/generics.rs +++ b/impl/src/generics.rs @@ -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();