aboutsummaryrefslogtreecommitdiff
path: root/helix-loader/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-loader/src/config.rs')
-rw-r--r--helix-loader/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-loader/src/config.rs b/helix-loader/src/config.rs
index a4c6dcbd..0f329d21 100644
--- a/helix-loader/src/config.rs
+++ b/helix-loader/src/config.rs
@@ -14,7 +14,7 @@ pub fn user_lang_config() -> Result<toml::Value, toml::de::Error> {
.chain([crate::config_dir()].into_iter())
.map(|path| path.join("languages.toml"))
.filter_map(|file| {
- std::fs::read_to_string(&file)
+ std::fs::read_to_string(file)
.map(|config| toml::from_str(&config))
.ok()
})