From 8a3162bfbd0821930164441e609d809f6901d541 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sat, 23 Mar 2024 23:30:23 +0000 Subject: [PATCH] refactor: use an array directly --- Cargo.lock | 2 +- src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4946797..5be98d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" [[package]] name = "bunbun" -version = "0.2.0" +version = "1.0.0" dependencies = [ "colored", "sysinfo", diff --git a/src/main.rs b/src/main.rs index 819b33e..0266c3e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,7 +5,7 @@ use std::env; fn main() { let bottom = format!("c({})({})", "\"".red(), "\"".red()).to_string(); - let ascii = vec!["(\\ /)", "( . .)", &bottom]; + let ascii = ["(\\ /)", "( . .)", &bottom]; let hostname = fallible::hostname().unwrap_or(String::from("N/A")); let user = env!("USER");