More clippy fixes

This commit is contained in:
2025-07-07 15:29:30 -06:00
parent 8756eee07b
commit 5f48e69775
7 changed files with 40 additions and 34 deletions

View File

@@ -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();