Ben S 10 лет назад
Родитель
Сommit
0c66d15345
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/options.rs

+ 1 - 1
src/options.rs

@@ -482,7 +482,7 @@ impl DirAction {
 
     pub fn is_tree(&self) -> bool {
         match *self {
-            DirAction::Recurse(RecurseOptions { max_depth: _, tree }) => tree,
+            DirAction::Recurse(RecurseOptions { tree, .. }) => tree,
             _ => false,
          }
     }