From 6721953fbed98e00d85032a11980fdf75d2ce6da Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 24 Sep 2025 00:58:03 +0800 Subject: format --- src/executor.rs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'src/executor.rs') diff --git a/src/executor.rs b/src/executor.rs index a2a7856..21f68da 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -22,17 +22,13 @@ impl<'a, 't, N: Copy + PartialEq, T> Executor<'a, 't, N, T> { pub fn run(&mut self) -> &TaskOutput { let output = (self .task - .exec)( - &self.args, &self.ctx, - ); - self.complete_task = Some( - CompletedTask { - name: self - .task - .name, - output: Some(output), - }, - ); + .exec)(&self.args, &self.ctx); + self.complete_task = Some(CompletedTask { + name: self + .task + .name, + output: Some(output), + }); self.complete_task .as_ref() .unwrap() -- cgit v1.2.3