about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/store/src/listener/mod.rs2
-rw-r--r--tvix/store/src/nar/renderer.rs2
-rw-r--r--tvix/store/src/proto/mod.rs2
-rw-r--r--tvix/store/src/tests/fixtures.rs2
4 files changed, 4 insertions, 4 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
diff --git a/tvix/store/src/nar/renderer.rs b/tvix/store/src/nar/renderer.rs
index 6e98d2902df6..2b7ad46f9ff7 100644
--- a/tvix/store/src/nar/renderer.rs
+++ b/tvix/store/src/nar/renderer.rs
@@ -84,7 +84,7 @@ pub async fn write_nar<W: AsyncWrite + Unpin + Send>(
 
     walk_node(
         nar_root_node,
-        &proto_root_node,
+        proto_root_node,
         blob_service,
         directory_service,
     )
diff --git a/tvix/store/src/proto/mod.rs b/tvix/store/src/proto/mod.rs
index f95ea62f972e..4bf4cfba1b6a 100644
--- a/tvix/store/src/proto/mod.rs
+++ b/tvix/store/src/proto/mod.rs
@@ -173,7 +173,7 @@ impl PathInfo {
                         castorepb::node::Node::Symlink(_) => {}
                     }
                     // parse the name of the node itself and return
-                    parse_node_name_root(&node.get_name(), ValidatePathInfoError::InvalidNodeName)?
+                    parse_node_name_root(node.get_name(), ValidatePathInfoError::InvalidNodeName)?
                 }
             },
         };
diff --git a/tvix/store/src/tests/fixtures.rs b/tvix/store/src/tests/fixtures.rs
index 5ff37a508433..f0d0f35378cf 100644
--- a/tvix/store/src/tests/fixtures.rs
+++ b/tvix/store/src/tests/fixtures.rs
@@ -107,7 +107,7 @@ lazy_static! {
                 size: 0,
             })),
         }),
-        references: vec![DUMMY_OUTPUT_HASH.clone().into()],
+        references: vec![DUMMY_OUTPUT_HASH.clone()],
         narinfo: None,
     };