From 6546844ca4274cd11ec2c91da7c6d7b5e8a82d0b Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 4 Dec 2025 15:10:40 -0500 Subject: [Rust] Fix misc clippy lints and warnings These are introduced after changing to Rust 1.91.1 --- rust/src/data_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/data_buffer.rs') 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 { - Some(self.as_ref().cmp(other.as_ref())) + Some(self.cmp(other)) } } -- cgit v1.3.1