Unnamed repository; edit this file 'description' to name the repository.
refactor: uneeded string conversion for Display type
| -rw-r--r-- | helix-view/src/document.rs | 2 |
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) ); } |