about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation/validate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/derivation/validate.rs')
-rw-r--r--tvix/nix-compat/src/derivation/validate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/derivation/validate.rs b/tvix/nix-compat/src/derivation/validate.rs
index b88df1f621cd..d711f5ce1de2 100644
--- a/tvix/nix-compat/src/derivation/validate.rs
+++ b/tvix/nix-compat/src/derivation/validate.rs
@@ -26,7 +26,7 @@ impl Derivation {
             // meaning.
             //
             // Other output names that don't match the name restrictions from
-            // [StorePath] will fail the [store_path::validate_name] check.
+            // [StorePathRef] will fail the [StorePathRef::validate_name] check.
             if output_name.is_empty()
                 || output_name == "drv"
                 || store_path::validate_name(output_name.as_bytes()).is_err()
@@ -81,7 +81,7 @@ impl Derivation {
                 // meaning.
                 //
                 // Other output names that don't match the name restrictions from
-                // [StorePath] will fail the [StorePath::validate_name] check.
+                // [StorePath] will fail the [StorePathRef::validate_name] check.
                 if output_name.is_empty()
                     || output_name == "drv"
                     || store_path::validate_name(output_name.as_bytes()).is_err()