فهرست منبع

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,
          }
     }