Skip to content

Commit

Permalink
Avoid dead code warning on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
borntyping committed Jul 29, 2021
1 parent 80947e4 commit 8bef8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ impl Log for SimpleLogger {
fn flush(&self) {}
}

#[cfg(windows)]
#[cfg(all(windows, feature = "colored"))]
fn set_up_color_terminal() {
use atty::Stream;

Expand Down

0 comments on commit 8bef8a6

Please sign in to comment.