Skip to content

Commit c133765

Browse files
authored
Merge pull request #36 from creekorful/fixes/35
s/chrono/colored
2 parents 8bef8a6 + 6d9379e commit c133765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ impl SimpleLogger {
221221
///
222222
/// This method is only available if the `colored` feature is enabled.
223223
#[must_use = "You must call init() to begin logging"]
224-
#[cfg(feature = "chrono")]
224+
#[cfg(feature = "colored")]
225225
pub fn with_colors(mut self, colors: bool) -> SimpleLogger {
226226
self.colors = colors;
227227
self

0 commit comments

Comments
 (0)