diff --git a/tvix/castore/src/path.rs b/tvix/castore/src/path.rs index 498f9a91b..68e4b75ec 100644 --- a/tvix/castore/src/path.rs +++ b/tvix/castore/src/path.rs @@ -117,6 +117,12 @@ impl Display for Path { } } +impl AsRef for Path { + fn as_ref(&self) -> &Path { + self + } +} + /// Represents a owned PathBuf in the castore model. /// These are always relative, and platform-independent, which distinguishes /// them from the ones provided in the standard library.