From 5b451599961043de7e31c2e43f5bfe714416c218 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 17 Dec 2023 17:40:44 +0100 Subject: [PATCH] Improve the comment --- src/uu/ls/src/ls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 77f791342..bfce1db79 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -562,7 +562,7 @@ fn is_color_compatible_term() -> bool { let term = std::env::var("TERM").unwrap_or_default(); let colorterm = std::env::var("COLORTERM").unwrap_or_default(); - // Search function to manage the "*" into the data structure + // Search function in the TERM struct to manage the wildcards let term_matches = |term: &str| -> bool { uucore::colors::TERMS.iter().any(|&pattern| { term == pattern