Skip to content

Commit

Permalink
cargo clippy on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
darksv committed Oct 10, 2020
1 parent c7096c6 commit 054a291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions czkawka_core/src/common_directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ impl Directories {
let mut optimized_excluded: Vec<PathBuf> = Vec::new();

if cfg!(target_family = "windows") {
self.included_directories = self.included_directories.iter().map(|d| Common::prettier_windows_path(d)).collect();
self.excluded_directories = self.excluded_directories.iter().map(|d| Common::prettier_windows_path(d)).collect();
self.included_directories = self.included_directories.iter().map(Common::prettier_windows_path).collect();
self.excluded_directories = self.excluded_directories.iter().map(Common::prettier_windows_path).collect();
}

// Remove duplicated entries like: "/", "/"
Expand Down

0 comments on commit 054a291

Please sign in to comment.