summaryrefslogtreecommitdiff
path: root/rust/src/component.rs
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2024-07-09 19:02:01 -0400
committerKyleMiles <krm504@nyu.edu>2024-07-09 19:02:01 -0400
commit6b72382e355807b7b309bbc21d18dc8defd12cec (patch)
tree03d57f6850c76034f107e4efbcb7b37326fc207b /rust/src/component.rs
parent1b22f189fc4b26fb383179f378b6d811e7c16083 (diff)
Rust API : Fix misc clippy warnings
Diffstat (limited to 'rust/src/component.rs')
-rw-r--r--rust/src/component.rs1
1 files changed, 1 insertions, 0 deletions
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()) }
}