docs(nix-compat/narinfo/fingerprint): fix reference

Change-Id: Icc56aa178247b3985a406421b7d8d449c63f8231
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10394
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2023-12-21 17:16:25 +02:00 committed by clbot
parent e4eb0b9bf4
commit 18702c740e

View file

@ -1,6 +1,6 @@
use crate::{nixbase32, store_path::StorePathRef}; use crate::{nixbase32, store_path::StorePathRef};
/// Computes the fingerprint string for certain fields in a [NarInfo]. /// Computes the fingerprint string for certain fields in a [super::NarInfo].
/// This fingerprint is signed by an ed25519 key, and in the case of a Nix HTTP /// This fingerprint is signed by an ed25519 key, and in the case of a Nix HTTP
/// Binary cache, included in the NARInfo files served from there. /// Binary cache, included in the NARInfo files served from there.
pub fn fingerprint<'a, R: Iterator<Item = &'a StorePathRef<'a>>>( pub fn fingerprint<'a, R: Iterator<Item = &'a StorePathRef<'a>>>(