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 <noreply@anthropic.com>
This commit is contained in:
florianandClaude Fable 5 committed 2026-07-16 16:29:05 +02:00
1 parent 8ad05b85db
commit 6276defac6
1 file changed
+1 -1
+1 -1
View File
@@ -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
))
}
}