From dfda1f3a9b02f6bd55c7175f60519ee6bc60ef61 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Tue, 9 Jan 2024 09:03:13 +0100 Subject: [PATCH] fix clippy warning --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 4287448b..5abf7bf4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,11 @@ #![cfg_attr(not(feature = "std"), no_std)] #![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)] -#![allow(clippy::large_enum_variant, clippy::derive_partial_eq_without_eq)] +#![allow( + clippy::large_enum_variant, + clippy::derive_partial_eq_without_eq, + clippy::needless_borrows_for_generic_args +)] #![allow(rustdoc::bare_urls)] #![forbid(unsafe_code)]