From a5c793357c1d3ca72aacb5142cbf8845c60c42ef Mon Sep 17 00:00:00 2001 From: 0jdxt <4650251+0jdxt@users.noreply.github.com> Date: Wed, 30 Sep 2020 00:44:13 +0100 Subject: [PATCH] redundant use of `std::`, `fs` already imported --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 6c1703aa..d26c71e4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -477,7 +477,7 @@ impl CliConfig { }; info!("Loading config from {:?}", &config_file_path); - let content = match std::fs::read_to_string(config_file_path) { + let content = match fs::read_to_string(config_file_path) { Ok(s) => s, Err(e) => { info!("Failed reading config file: {}", e);