From d2d302433747ba04dc2fa541c4da9e878d4a5886 Mon Sep 17 00:00:00 2001 From: Miguel Madrid-MencĂ­a Date: Fri, 27 Jan 2023 16:43:46 +0100 Subject: Fix clippy 1.67 warnings (#5697) --- helix-view/src/theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-view/src') 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 { - let data = std::fs::read_to_string(&path)?; + let data = std::fs::read_to_string(path)?; let value = toml::from_str(&data)?; Ok(value) -- cgit v1.2.3-70-g09d2