From 79c40acd94187145f41de9601a3ad8e1c0e3e11f Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 23 Jun 2024 16:16:32 -0700 Subject: clean up a few more feature flags --- src/color_new.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/color_new.rs') diff --git a/src/color_new.rs b/src/color_new.rs index fac0e2b..671fbd0 100644 --- a/src/color_new.rs +++ b/src/color_new.rs @@ -74,6 +74,8 @@ mod ansi { } } + // could reasonably be always present, but only used if feature="alloc" + #[cfg(feature="alloc")] const DEFAULT_FG: &'static str = "\x1b[39m"; #[cfg(feature="alloc")] -- cgit v1.1