about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/nix-compat/src/nixhash/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixhash/mod.rs b/tvix/nix-compat/src/nixhash/mod.rs
index a93d2b68da..aa1ce3bbd3 100644
--- a/tvix/nix-compat/src/nixhash/mod.rs
+++ b/tvix/nix-compat/src/nixhash/mod.rs
@@ -42,7 +42,7 @@ impl NixHash {
     }
 
     /// Constructs a [NixHash] from the Nix default hash format,
-    /// the inverse of [to_nix_hex_string].
+    /// the inverse of [Self::to_nix_hex_string].
     pub fn from_nix_hex_str(s: &str) -> Option<Self> {
         let (tag, digest) = s.split_once(':')?;