cargo: fmt
This commit is contained in:
parent
9feab25d80
commit
1ff7cd1d6c
|
@ -1,5 +1,5 @@
|
|||
use clap::Parser;
|
||||
use owo_colors::{OwoColorize, AnsiColors::*};
|
||||
use owo_colors::{AnsiColors::*, OwoColorize};
|
||||
use std::{env::var, path::PathBuf};
|
||||
use sysinfo::System;
|
||||
use whoami::*;
|
||||
|
@ -95,9 +95,7 @@ fn main() {
|
|||
|
||||
if !args.hide_colours && !args.ascii_only {
|
||||
println!();
|
||||
let colors = [
|
||||
Black, Red, Green, Yellow, Blue, Magenta, Cyan, White
|
||||
];
|
||||
let colors = [Black, Red, Green, Yellow, Blue, Magenta, Cyan, White];
|
||||
let mut color_string: String = " ".to_string();
|
||||
for color in colors {
|
||||
color_string.push_str(&format!("{:>3}", "●".color(color)));
|
||||
|
|
Loading…
Reference in a new issue