Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-Just-Nans committed Mar 25, 2024
1 parent d4cbc85 commit 07e28ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ fn should_init_color(no_color: bool, force_color: bool) -> bool {
return match ansi_term::enable_ansi_support() {

Check failure on line 66 in src/main.rs

View workflow job for this annotation

GitHub Actions / Style (windows-latest)

unneeded `return` statement
Ok(_) => true,
Err(_) => {
eprintln!(
"This version of Windows does not support ANSI colors"
);
eprintln!("This version of Windows does not support ANSI colors");
false
}
};
Expand Down

0 comments on commit 07e28ca

Please sign in to comment.