mirror of
https://github.com/nushell/nushell.git
synced 2025-05-31 23:26:11 +02:00
Apply cargo clippy suggestions
This commit is contained in:
parent
f8b6225f50
commit
30f7d4091a
@ -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<Example> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user