From d4bd5b37669708361a0a6cd2917464b010e6b7f5 Mon Sep 17 00:00:00 2001
From: fossdd <fossdd@tutanota.com>
Date: Thu, 22 Jul 2021 12:50:11 +0000
Subject: [PATCH] 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;
   |         ^^^^^^^^
   |
```
---
 helix-core/src/syntax.rs | 1 -
 1 file changed, 1 deletion(-)

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)]