aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorfossdd2021-07-22 12:50:11 +0000
committerBlaž Hrastnik2021-07-22 13:39:17 +0000
commitd4bd5b37669708361a0a6cd2917464b010e6b7f5 (patch)
treec1f16807b4a11b972eb874315ff16c0c13d55f93 /helix-core
parenteba0bbda2ee10e9ba53f01f1d324d2c4c82229d2 (diff)
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; | ^^^^^^^^ | ```
Diffstat (limited to 'helix-core')
-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)]