From 73b908cb44cf52a768647c0f5cd450ab48cf831f Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 16 Sep 2025 20:27:22 +0800 Subject: chore: rustfmt config change --- src/client/executor.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/client/executor.rs') diff --git a/src/client/executor.rs b/src/client/executor.rs index ad419f0..32a0fdc 100644 --- a/src/client/executor.rs +++ b/src/client/executor.rs @@ -7,16 +7,9 @@ pub struct Executor { } impl Executor { - pub fn new( - task: impl IntoTask, - args: impl IntoIterator, - ) -> Result { + pub fn new(task: impl IntoTask, args: impl IntoIterator) -> Result { let task = task.into_task()?; - Ok(Self { - task: task, - args: args.into_iter().collect(), - output: None, - }) + Ok(Self { task: task, args: args.into_iter().collect(), output: None }) } pub fn run(&mut self) -> Option<&Result> { -- cgit v1.2.3