diff --git a/snix/nix-compat/src/derivation/parser.rs b/snix/nix-compat/src/derivation/parser.rs index a6bca6937..d1d0ff0fe 100644 --- a/snix/nix-compat/src/derivation/parser.rs +++ b/snix/nix-compat/src/derivation/parser.rs @@ -79,7 +79,8 @@ pub fn parse_streaming(i: &[u8]) -> (Result>, &[u8]) { /// Consume a string containing the algo, and optionally a `r:` /// prefix, and a digest (bytes), return a [CAHash::Nar] or [CAHash::Flat]. -// TODO: This maybe should belong in ca_hash.rs +/// This does not live in CAHash, as its only possible to construct a subset of CAHash kinds, +/// and only used inside Derivation ATerm. fn from_algo_and_mode_and_digest>( algo_and_mode: &str, digest: B,