aboutsummaryrefslogtreecommitdiff
path: root/src/color_new.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2024-06-23 16:16:32 -0700
committeriximeow <me@iximeow.net>2024-06-23 16:16:32 -0700
commit79c40acd94187145f41de9601a3ad8e1c0e3e11f (patch)
treeaef404c1e4b5f056676067f80de85178763d6005 /src/color_new.rs
parentac4c85c988f4217301baa94947a24151950b42fe (diff)
clean up a few more feature flags
Diffstat (limited to 'src/color_new.rs')
-rw-r--r--src/color_new.rs2
1 files changed, 2 insertions, 0 deletions
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")]