Properly formatted code

This commit is contained in:
omagdy7 2024-06-03 12:05:29 +03:00 committed by sxyazi
parent e6552de2ef
commit 96a894f67d
No known key found for this signature in database

View file

@ -1,19 +1,9 @@
use std::{
collections::HashSet,
env,
ffi::OsString,
fmt::Write,
path::{Path, PathBuf},
process,
};
use std::{collections::HashSet, env, ffi::OsString, fmt::Write, path::{Path, PathBuf}, process};
use clap::Parser;
use serde::Serialize;
use yazi_config::PREVIEW;
use yazi_shared::{
fs::{current_cwd, expand_path},
Xdg,
};
use yazi_shared::{fs::{current_cwd, expand_path}, Xdg};
use super::Args;
use crate::ARGS;
@ -57,10 +47,7 @@ impl Boot {
}
fn action_debug() -> Result<String, std::fmt::Error> {
use std::{
env::consts::{ARCH, FAMILY, OS},
process::Command,
};
use std::{env::consts::{ARCH, FAMILY, OS}, process::Command};
let mut s = String::new();
writeln!(s, "\nYazi")?;