refactor: uneeded string conversion for Display type

pull/13283/head
Rolo 2025-04-03 14:35:35 -07:00 committed by Michael Davis
parent 5a671e65fd
commit f857a98671
1 changed files with 1 additions and 1 deletions

View File

@ -854,7 +854,7 @@ impl Document {
} else if !output.stderr.is_empty() {
log::debug!(
"Formatter printed to stderr: {}",
String::from_utf8_lossy(&output.stderr).to_string()
String::from_utf8_lossy(&output.stderr)
);
}