mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Properly formatted code
This commit is contained in:
parent
e6552de2ef
commit
96a894f67d
1 changed files with 6 additions and 19 deletions
|
|
@ -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")?;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue