瀏覽代碼

Minuscule code cleanup

Ben S 10 年之前
父節點
當前提交
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,
          }
     }