summaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorMiguel Madrid-MencĂ­a2023-01-27 15:43:46 +0000
committerGitHub2023-01-27 15:43:46 +0000
commitd2d302433747ba04dc2fa541c4da9e878d4a5886 (patch)
treef0c76b6bc4a41e98ecb4c1d0b78525d4927a69e5 /helix-view/src
parent4d548a0ee39c14ba54b672f6b57072cf306c11a9 (diff)
Fix clippy 1.67 warnings (#5697)
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/theme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index 43d4a7a7..8fb15a10 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -150,7 +150,7 @@ impl Loader {
// Loads the theme data as `toml::Value` first from the user_dir then in default_dir
fn load_toml(&self, path: PathBuf) -> Result<Value> {
- let data = std::fs::read_to_string(&path)?;
+ let data = std::fs::read_to_string(path)?;
let value = toml::from_str(&data)?;
Ok(value)