From 22c98311a8e8f4a1c94b0e4ac0f36b4e016a2bf4 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 21 Sep 2025 23:08:41 +0800 Subject: format --- src/tasks.rs | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/tasks.rs') diff --git a/src/tasks.rs b/src/tasks.rs index 85e57c5..9475d60 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -16,9 +16,22 @@ pub struct CompletedTask { pub output: Option, } -impl From<(N, TaskOutput)> for CompletedTask { - fn from((name, output): (N, TaskOutput)) -> Self { - CompletedTask { name, output: Some(output) } +impl + From<( + N, + TaskOutput, + )> for CompletedTask +{ + fn from( + (name, output): ( + N, + TaskOutput, + ), + ) -> Self { + CompletedTask { + name, + output: Some(output), + } } } -- cgit v1.2.3