refactor: use an array directly

This commit is contained in:
Muhammad Nauman Raza 2024-03-23 23:30:23 +00:00
parent fb31db723f
commit 8a3162bfbd
Signed by: devraza
GPG key ID: 91EAD6081011574B
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View file

@ -16,7 +16,7 @@ checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa"
[[package]]
name = "bunbun"
version = "0.2.0"
version = "1.0.0"
dependencies = [
"colored",
"sysinfo",

View file

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