mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Do a rustfmt **/*.rs
This commit is contained in:
parent
54e17af01e
commit
7a1cedd555
1 changed files with 1 additions and 7 deletions
8
core/src/external/shell.rs
vendored
8
core/src/external/shell.rs
vendored
|
|
@ -63,13 +63,7 @@ pub fn shell(opt: ShellOpt) -> Result<Child> {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
mod cmdexpand {
|
mod cmdexpand {
|
||||||
use anyhow::{anyhow, Result};
|
use anyhow::{anyhow, Result};
|
||||||
use nom::branch::alt;
|
use nom::{branch::alt, bytes::complete::{is_not, tag, take_while1}, character::complete::{anychar, char, digit1, space0, space1}, combinator::recognize, multi::{many0, many1}, sequence::{delimited, pair, preceded, tuple}, IResult};
|
||||||
use nom::bytes::complete::{is_not, tag, take_while1};
|
|
||||||
use nom::character::complete::{anychar, char, digit1, space0, space1};
|
|
||||||
use nom::combinator::recognize;
|
|
||||||
use nom::multi::{many0, many1};
|
|
||||||
use nom::sequence::{delimited, pair, preceded, tuple};
|
|
||||||
use nom::IResult;
|
|
||||||
|
|
||||||
enum CommandPart<'a> {
|
enum CommandPart<'a> {
|
||||||
Space(&'a str),
|
Space(&'a str),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue