Skip to content

Commit

Permalink
Remove superfluous path.replace
Browse files Browse the repository at this point in the history
See #153
  • Loading branch information
sharkdp committed Nov 10, 2017
1 parent c022528 commit 0920941
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ fn main() {
// Get the root directory for the search
let mut root_dir_buf = match matches.value_of("path") {
Some(path) => {
#[cfg(windows)]
let path = path.replace('/', "\\");

PathBuf::from(path)
}
None => current_dir.to_path_buf(),
Expand Down

0 comments on commit 0920941

Please sign in to comment.