Do a rustfmt **/*.rs

This commit is contained in:
sxyazi 2023-09-24 00:21:28 +08:00
parent 54e17af01e
commit 7a1cedd555
No known key found for this signature in database

View file

@ -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),