Unnamed repository; edit this file 'description' to name the repository.
The item `fmt` was imported redundantly
Fixed warning: ``` warning: the item `fmt` is imported redundantly --> helix-core/src/syntax.rs:98:9 | 16 | fmt, | --- the item `fmt` is already imported here ... 98 | use std::fmt; | ^^^^^^^^ | ```
fossdd 2021-07-22
parent eba0bbd · commit d4bd5b3
-rw-r--r--helix-core/src/syntax.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 9acf3d87..14f36a0a 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -95,7 +95,6 @@ fn load_runtime_file(language: &str, filename: &str) -> Result<String, std::io::
#[cfg(feature = "embed_runtime")]
fn load_runtime_file(language: &str, filename: &str) -> Result<String, Box<dyn std::error::Error>> {
- use std::fmt;
use std::path::PathBuf;
#[derive(rust_embed::RustEmbed)]