From 30f7d4091a7ff48d2ac777139c5d457a6a61d362 Mon Sep 17 00:00:00 2001 From: cosineblast <55855728+cosineblast@users.noreply.github.com> Date: Wed, 26 Mar 2025 21:49:23 -0300 Subject: [PATCH] Apply cargo clippy suggestions --- crates/nu-command/src/experimental/job_recv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/experimental/job_recv.rs b/crates/nu-command/src/experimental/job_recv.rs index a3230e5ac3..69e97956bd 100644 --- a/crates/nu-command/src/experimental/job_recv.rs +++ b/crates/nu-command/src/experimental/job_recv.rs @@ -84,12 +84,12 @@ in no particular order, regardless of the specified timeout parameter. .lock() .expect("failed to acquire lock"); - return if let Some(timeout) = timeout { + if let Some(timeout) = timeout { recv_with_time_limit(&mut mailbox, tag, engine_state.signals(), head, timeout) } else { recv_without_time_limit(&mut mailbox, tag, engine_state.signals(), head) } - .map(|value| value.into_pipeline_data()); + .map(|value| value.into_pipeline_data()) } fn examples(&self) -> Vec {