mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-09 05:27:47 +00:00
More clippy fixes
This commit is contained in:
@@ -20,7 +20,7 @@ pub fn display_diff(
|
||||
separator = true;
|
||||
}
|
||||
let DiffTextSegment { text, color, pad_to } = segment;
|
||||
output.push_str(&format!("({:?}, {:?}, {:?})", text, color, pad_to));
|
||||
output.push_str(&format!("({text:?}, {color:?}, {pad_to:?})"));
|
||||
Ok(())
|
||||
})
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user