summaryrefslogtreecommitdiff
path: root/rust/src/component.rs
diff options
context:
space:
mode:
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()) }
}