1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

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;
   |         ^^^^^^^^
   |
```
This commit is contained in:
fossdd 2021-07-22 12:50:11 +00:00 committed by Blaž Hrastnik
parent eba0bbda2e
commit d4bd5b3766

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