about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-21T15·16+0200
committerclbot <clbot@tvl.fyi>2023-12-21T16·36+0000
commite4eb0b9bf40de5a9ea23fe7c0b84e7bc51e1f1c0 (patch)
tree720b78413178cb3b31d800bec2e5c608f5b3f342 /tvix
parent329a7d30a7e11fabe46ab22cdb96ba800f75d49a (diff)
docs(nix-compat/derivation): fix references r/7239
Change-Id: If6962931350edfbae206fa739a673e7ccbc3ee89
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10393
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix')
-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()