From 1ff7cd1d6c767a2cf86c92bcf535e754da49b243 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Fri, 31 May 2024 20:03:22 +0100 Subject: [PATCH] cargo: fmt --- src/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 23b2deb..3fceb70 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)));