Unnamed repository; edit this file 'description' to name the repository.
refactor: uneeded string conversion for Display type
Rolo 11 months ago
parent 5a671e6 · commit f857a98
-rw-r--r--helix-view/src/document.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 41c9ee1e..92c1e3ca 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -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)
);
}