Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bconn98 committed Dec 20, 2023
1 parent 5e773db commit 7b8206e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/encode/writer/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ static COLOR_MODE: Lazy<ColorMode> = Lazy::new(|| {
.unwrap_or(false);
if no_color {
ColorMode::Never
}
else if clicolor_force {
} else if clicolor_force {
ColorMode::Always
} else {
let clicolor = std::env::var("CLICOLOR")
Expand Down Expand Up @@ -238,7 +237,11 @@ mod imp {
};

use crate::{
encode::{self, Color, Style, writer::console::{ColorMode, COLOR_MODE}},
encode::{
self,
writer::console::{ColorMode, COLOR_MODE},
Color, Style
},
priv_io::{StdWriter, StdWriterLock},
};

Expand Down

0 comments on commit 7b8206e

Please sign in to comment.