Przeglądaj źródła

Minuscule code cleanup

Ben S 10 lat temu
rodzic
commit
0c66d15345
1 zmienionych plików z 1 dodań i 1 usunięć
  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,
          }
     }