From 390cd77f6eab3f7ce9c672aebc52b265de230cc9 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Fri, 29 May 2026 13:23:14 +0200 Subject: [PATCH] dircolors: make a function and an enum private --- src/uu/dircolors/src/dircolors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();