Selaa lähdekoodia

Remove some unused functions

Ben S 10 vuotta sitten
vanhempi
sitoutus
662aed302a
2 muutettua tiedostoa jossa 0 lisäystä ja 14 poistoa
  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(),
-        }
-    }
 }