Merge pull request #404 from kleinicke/fix-clippy-useless-borrow
Fix clippy 1.97 useless_borrows_in_formatting lint failing CI
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -363,7 +363,7 @@ impl ::std::fmt::Debug for Entry {
|
|||||||
fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> Result<(), ::std::fmt::Error> {
|
fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> Result<(), ::std::fmt::Error> {
|
||||||
fmt.write_str(&format!(
|
fmt.write_str(&format!(
|
||||||
"Entry {{ type_: {:?}, count: {:?}, offset: {:?} }}",
|
"Entry {{ type_: {:?}, count: {:?}, offset: {:?} }}",
|
||||||
self.type_, self.count, &self.offset
|
self.type_, self.count, self.offset
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user