Parcourir la source

Remove some unused functions

Ben S il y a 10 ans
Parent
commit
662aed302a
2 fichiers modifiés avec 0 ajouts et 14 suppressions
  1. 0 7
      src/options.rs
  2. 0 7
      src/output/details.rs

+ 0 - 7
src/options.rs

@@ -457,13 +457,6 @@ impl DirAction {
             _ => false,
          }
     }
-
-    pub fn is_recurse(&self) -> bool {
-        match *self {
-            DirAction::Recurse(RecurseOptions { max_depth: _, tree }) => !tree,
-            _ => false,
-         }
-    }
 }
 
 #[derive(PartialEq, Debug, Copy, Clone)]

+ 0 - 7
src/output/details.rs

@@ -259,11 +259,4 @@ impl UserLocale {
             numeric: locale::Numeric::load_user_locale().unwrap_or_else(|_| locale::Numeric::english()),
         }
     }
-
-    pub fn default() -> UserLocale {
-        UserLocale {
-            time:    locale::Time::english(),
-            numeric: locale::Numeric::english(),
-        }
-    }
 }