aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/color_new.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color_new.rs b/src/color_new.rs
index 671fbd0..482a624 100644
--- a/src/color_new.rs
+++ b/src/color_new.rs
@@ -154,7 +154,7 @@ mod ansi {
fn span_end_function_expr(&mut self) { self.restore_prev_color() }
}
}
- #[cfg(alloc)]
+ #[cfg(feature="alloc")]
pub use ansi_display_sink::AnsiDisplaySink;
}