Skip to content

Commit

Permalink
redundant use of std::, fs already imported
Browse files Browse the repository at this point in the history
  • Loading branch information
0jdxt authored Sep 29, 2020
1 parent 9823473 commit a5c7933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5c7933

Please sign in to comment.