From 7a1cedd55574b7a0ce8cbbf9a9458a3dbaace36d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sun, 24 Sep 2023 00:21:28 +0800 Subject: [PATCH] Do a `rustfmt **/*.rs` --- core/src/external/shell.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/src/external/shell.rs b/core/src/external/shell.rs index 28dca669..f595be8b 100644 --- a/core/src/external/shell.rs +++ b/core/src/external/shell.rs @@ -63,13 +63,7 @@ pub fn shell(opt: ShellOpt) -> Result { #[cfg(target_os = "windows")] mod cmdexpand { use anyhow::{anyhow, Result}; - use nom::branch::alt; - 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; + 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}; enum CommandPart<'a> { Space(&'a str),