From 6b72382e355807b7b309bbc21d18dc8defd12cec Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 9 Jul 2024 19:02:01 -0400 Subject: Rust API : Fix misc clippy warnings --- rust/src/component.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src/component.rs') diff --git a/rust/src/component.rs b/rust/src/component.rs index d28a1661..ec235043 100644 --- a/rust/src/component.rs +++ b/rust/src/component.rs @@ -240,6 +240,7 @@ impl PartialEq for Component { unsafe { BNComponentsEqual(self.as_raw(), other.as_raw()) } } + #[allow(clippy::partialeq_ne_impl)] fn ne(&self, other: &Self) -> bool { unsafe { BNComponentsNotEqual(self.as_raw(), other.as_raw()) } } -- cgit v1.3.1