docs(nix-compat/nar/reader): fix reference

Change-Id: I7ccdfe3c042f49aa962d1c7ba6337bd656ef05c8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10405
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
This commit is contained in:
Florian Klink 2023-12-21 17:37:00 +02:00 committed by clbot
parent 12406fe241
commit 3b274f47af

View file

@ -8,7 +8,7 @@ use std::io::{
use super::Reader;
use crate::nar::wire::Tag;
/// Consume a little-endian [u64] from the reader.
/// Consume a little-endian [prim@u64] from the reader.
pub fn u64(reader: &mut Reader) -> io::Result<u64> {
let mut buf = [0; 8];
reader.read_exact(&mut buf)?;