diff options
author | Florian Klink <flokli@flokli.de> | 2023-10-12T17·34+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-10-12T20·46+0000 |
commit | 3dd5ba042be0a36b0f94aba34414bb20a7e5ed61 (patch) | |
tree | f521b79713d2ae5d33585b3fc528e60a28d1e38d /tvix/store/src/listener | |
parent | 04c1f151f381122cd4a800ba52ebcbc6bc70acf2 (diff) |
refactor(tvix/store): clippy lint r/6791
Change-Id: I03aa5c6cb0167ff6cb7312d81d1e43116fcb6d70 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9710 Reviewed-by: edef <edef@edef.eu> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store/src/listener')
-rw-r--r-- | tvix/store/src/listener/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/listener/mod.rs b/tvix/store/src/listener/mod.rs index ed1220803562..1340e3a2ed65 100644 --- a/tvix/store/src/listener/mod.rs +++ b/tvix/store/src/listener/mod.rs @@ -88,7 +88,7 @@ impl Connected for Connection { ListenerConnectInfo::TCP(tcp_stream.connect_info()) } else if let Some(unix_stream) = self.try_borrow_unix() { ListenerConnectInfo::Unix(unix_stream.connect_info()) - } else if let Some(_) = self.try_borrow_stdio() { + } else if self.try_borrow_stdio().is_some() { ListenerConnectInfo::Stdio } else { ListenerConnectInfo::Other |