diff --git a/src/uu/dircolors/src/dircolors.rs b/src/uu/dircolors/src/dircolors.rs index ffc2a7611..807f34cbe 100644 --- a/src/uu/dircolors/src/dircolors.rs +++ b/src/uu/dircolors/src/dircolors.rs @@ -30,14 +30,14 @@ mod options { } #[derive(PartialEq, Eq, Debug)] -pub enum OutputFmt { +enum OutputFmt { Shell, CShell, Display, Unknown, } -pub fn guess_syntax() -> OutputFmt { +fn guess_syntax() -> OutputFmt { match env::var("SHELL") { Ok(ref s) if !s.is_empty() => { let shell_path: &Path = s.as_ref();