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;
| ^^^^^^^^
|
```
commitd4bd5b37669708361a0a6cd2917464b010e6b7f5
authorfossdd <fossdd@tutanota.com>
dateThu 22 Jul 2021, 12:50 (5 years ago)
parenteba0bbd
helix-core/src/syntax.rs−1
@@ -95,7 +95,6 @@ fn load_runtime_file(language: &str, filename: &str) -> Result<String, std::io::
9595
9696#[cfg(feature = "embed_runtime")]
9797fn load_runtime_file(language: &str, filename: &str) -> Result<String, Box<dyn std::error::Error>> {
98− use std::fmt;
9998 use std::path::PathBuf;
10099
101100 #[derive(rust_embed::RustEmbed)]