From 6276defac6629e74f52e4eea9024ae6b1833b9b7 Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 16 Jul 2026 16:29:05 +0200 Subject: [PATCH] Fix clippy 1.97 useless_borrows_in_formatting lint Rust 1.97's new clippy lint flags the redundant `&` on `self.offset` in Entry's Debug impl. CI runs clippy with -D warnings in every job, so this single pre-existing lint currently fails all PR pipelines. Co-Authored-By: Claude Fable 5 --- src/decoder/ifd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/ifd.rs b/src/decoder/ifd.rs index e062ab4..f2bd19d 100644 --- a/src/decoder/ifd.rs +++ b/src/decoder/ifd.rs @@ -363,7 +363,7 @@ impl ::std::fmt::Debug for Entry { fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> Result<(), ::std::fmt::Error> { fmt.write_str(&format!( "Entry {{ type_: {:?}, count: {:?}, offset: {:?} }}", - self.type_, self.count, &self.offset + self.type_, self.count, self.offset )) } }