diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-31T14·07+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-01-31T15·16+0000 |
commit | 1e28cc7edee0763f1f907af34033acb3a278b546 (patch) | |
tree | 99c4d22030cf8298d797c5e71153d13a46ee400d /tvix/nix-compat/src/derivation/validate.rs | |
parent | 2d24c5f260945216ca01371d4120f5d53f08b2cd (diff) |
docs(tvix/nix-compat/derivation): fix docstrings r/5792
Change-Id: I3fd02e62c8a24fa7f27461b17cdd824b060d9bdb Reviewed-on: https://cl.tvl.fyi/c/depot/+/7968 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to '')
-rw-r--r-- | tvix/nix-compat/src/derivation/validate.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/derivation/validate.rs b/tvix/nix-compat/src/derivation/validate.rs index 7456f930d15e..91b24f811de4 100644 --- a/tvix/nix-compat/src/derivation/validate.rs +++ b/tvix/nix-compat/src/derivation/validate.rs @@ -3,9 +3,11 @@ use crate::store_path::StorePath; impl Derivation { /// validate ensures a Derivation struct is properly populated, - /// and returns a [ValidateDerivationError] if not. + /// and returns a [DerivationError] if not. + /// /// if `validate_output_paths` is set to false, the output paths are /// excluded from validation. + /// /// This is helpful to validate struct population before invoking /// [Derivation::calculate_output_paths]. pub fn validate(&self, validate_output_paths: bool) -> Result<(), DerivationError> { |