From a60cd8f2a96aae3f7db8dfccec2aa5cf21f8c411 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:30:02 +0200 Subject: refactor(treewide): Conform to `cargo clippy` --- src/config/file_system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/file_system.rs') diff --git a/src/config/file_system.rs b/src/config/file_system.rs index fd3a8d8..5751583 100644 --- a/src/config/file_system.rs +++ b/src/config/file_system.rs @@ -72,7 +72,7 @@ impl Config { config_path: Option, ) -> Result { let config_file_path = config_path - .map(|val| Ok(val)) + .map(Ok) .unwrap_or_else(|| -> Result<_> { paths::config_path() })?; let config: super::definitions::ConfigFile = -- cgit 1.4.1