From 04bf9aade7d827601040eb07c2a75015048311f0 Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 5 Aug 2023 11:58:46 -0500 Subject: [PATCH] clippy --- src/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.rs b/src/process.rs index 9c89f3f..4509bd6 100644 --- a/src/process.rs +++ b/src/process.rs @@ -105,7 +105,7 @@ impl Process { Ok(Err(e)) => Err(ProcessError::Other(e)), Err(_) => { child.kill().await.map_err(ProcessError::Other)?; - return Err(ProcessError::Timeout); + Err(ProcessError::Timeout) } } }