From 749ca19369edd4698383de58cd501c3bfca4cfad Mon Sep 17 00:00:00 2001 From: the-dipsy <155256047+the-dipsy@users.noreply.github.com> Date: Tue, 6 Feb 2024 13:23:26 +0100 Subject: [PATCH] remove unnecessary type annotation Co-authored-by: Michael Davis --- helix-term/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 34b571d61..cbad357fb 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -91,7 +91,7 @@ impl Config { .map_err(ConfigLoadError::BadConfig))?; // Load and parse workspace config if enabled ignoring IO errors - let workspace: Option = global.workspace_config.unwrap_or(false) + let workspace = global.workspace_config.unwrap_or(false) .then(|| helix_loader::workspace_config_file()) .and_then(|f| fs::read_to_string(f).ok()) .map(|c| toml::from_str(&c).map_err(ConfigLoadError::BadConfig))