diff options
Diffstat (limited to 'src/args.rs')
-rw-r--r-- | src/args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/args.rs b/src/args.rs index 365749d8..6ee30e7f 100644 --- a/src/args.rs +++ b/src/args.rs @@ -709,8 +709,8 @@ impl Args { /// Create a new recursive directory iterator at the path given. pub fn walker(&self, path: &Path) -> Result<walk::Iter> { // Always follow symlinks for explicitly specified files. - let mut wd = WalkDir::new(path).follow_links(self.follow - || path.is_file()); + let mut wd = WalkDir::new(path).follow_links( + self.follow || path.is_file()); if let Some(maxdepth) = self.maxdepth { wd = wd.max_depth(maxdepth); } |