cargo: fmt

This commit is contained in:
Muhammad Nauman Raza 2024-05-31 20:03:22 +01:00
parent 99d0c3dad3
commit a6e23a8bd0

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