Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yveszoundi committed Aug 10, 2022
1 parent 3c4408d commit 462ae9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entrusted_client/src/main_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::env;
use std::error::Error;
use std::path::PathBuf;
use std::sync::mpsc;
use std::fs;
use std::thread;
use serde_json;
use indicatif::ProgressBar;
Expand Down Expand Up @@ -165,10 +164,9 @@ fn main() -> Result<(), Box<dyn Error>> {
// See https://github.com/rust-lang/rust/issues/42869
let src_path = {
#[cfg(not(target_os = "windows"))] {
fs::canonicalize(input_filename)?
std::fs::canonicalize(input_filename)?
}
#[cfg(target_os = "windows")] {
use dunce;
dunce::canonicalize(input_filename)?
}
};
Expand Down

0 comments on commit 462ae9c

Please sign in to comment.