cargo: fmt

This commit is contained in:
Muhammad Nauman Raza 2024-05-31 20:03:22 +01:00
parent 9feab25d80
commit 1ff7cd1d6c
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -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)));