From e4eb0b9bf40de5a9ea23fe7c0b84e7bc51e1f1c0 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 21 Dec 2023 17:16:03 +0200 Subject: docs(nix-compat/derivation): fix references Change-Id: If6962931350edfbae206fa739a673e7ccbc3ee89 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10393 Reviewed-by: edef Autosubmit: flokli Tested-by: BuildkiteCI --- tvix/nix-compat/src/derivation/validate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/nix-compat/src/derivation') 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() -- cgit 1.4.1