Sfoglia il codice sorgente

Minuscule code cleanup

Ben S 10 anni fa
parent
commit
0c66d15345
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/options.rs

+ 1 - 1
src/options.rs

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