summaryrefslogtreecommitdiff
path: root/rust/src/data_buffer.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-04 15:10:40 -0500
committerMason Reed <mason@vector35.com>2025-12-05 12:26:29 -0500
commit6546844ca4274cd11ec2c91da7c6d7b5e8a82d0b (patch)
tree7341b815993247cba9df7ea95585ce9723510fa0 /rust/src/data_buffer.rs
parent6eb12c3c3f53079a822881bf6e197105b25a0fe3 (diff)
[Rust] Fix misc clippy lints and warnings
These are introduced after changing to Rust 1.91.1
Diffstat (limited to 'rust/src/data_buffer.rs')
-rw-r--r--rust/src/data_buffer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/data_buffer.rs b/rust/src/data_buffer.rs
index 5f59393e..7a5e543c 100644
--- a/rust/src/data_buffer.rs
+++ b/rust/src/data_buffer.rs
@@ -234,7 +234,7 @@ impl Eq for DataBuffer {}
impl PartialOrd for DataBuffer {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
- Some(self.as_ref().cmp(other.as_ref()))
+ Some(self.cmp(other))
}
}