about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-18T07·54+0700
committertazjin <tazjin@tvl.su>2024-02-20T04·58+0000
commit98a17dbdf9f6756b5162d34eda17098918e991cf (patch)
treeb5602f8fa138486eb38bdcef9d7395f9cc55da95
parent0631b870b0a573bf603b0049c90366ccddb6e728 (diff)
chore(tvix/glue): remove unnecessary assignment r/7565
Change-Id: I747307317c45085f9f7762d659870c5bd75b908b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10958
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
-rw-r--r--tvix/glue/src/tvix_io.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tvix/glue/src/tvix_io.rs b/tvix/glue/src/tvix_io.rs
index 19e5dd0b41df..9fb9fbc37590 100644
--- a/tvix/glue/src/tvix_io.rs
+++ b/tvix/glue/src/tvix_io.rs
@@ -33,8 +33,7 @@ where
     }
 
     fn import_path(&self, path: &Path) -> io::Result<PathBuf> {
-        let imported_path = self.actual.as_ref().import_path(path)?;
-        Ok(imported_path)
+        self.actual.as_ref().import_path(path)
     }
 
     fn path_exists(&self, path: &Path) -> io::Result<bool> {