aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-31 14:42:16 +0000
committerBlaž Hrastnik2021-03-31 14:42:16 +0000
commitceea5eacd814c5bbd8c6789610c87a882e3d72cf (patch)
tree1b8aef96c10764e761539b8f6fb15abc78f07a61 /helix-term/src/main.rs
parent15c9a33ebcc18f6abf983785032ffc9762c89203 (diff)
clippy lint
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r--helix-term/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index dc6f31f4..33792947 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -77,7 +77,7 @@ fn main() {
use helix_core::syntax::{Loader, LOADER};
let toml = include_str!("../../languages.toml");
LOADER.get_or_init(|| {
- let config = toml::from_str(&toml).expect("Could not parse languages.toml");
+ let config = toml::from_str(toml).expect("Could not parse languages.toml");
Loader::new(config)
});