From ca0a8f560359708fe6a1772707c8dc238a27acd1 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 21 Dec 2023 17:20:48 +0200 Subject: docs(nix-compat/nixhash): fix reference Change-Id: I95c35a1405601c6f79cbc03462ab7c7cd6f08f2a Reviewed-on: https://cl.tvl.fyi/c/depot/+/10397 Tested-by: BuildkiteCI Reviewed-by: edef Autosubmit: flokli --- tvix/nix-compat/src/nixhash/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvix/nix-compat/src/nixhash/mod.rs b/tvix/nix-compat/src/nixhash/mod.rs index a93d2b68da..aa1ce3bbd3 100644 --- a/tvix/nix-compat/src/nixhash/mod.rs +++ b/tvix/nix-compat/src/nixhash/mod.rs @@ -42,7 +42,7 @@ impl NixHash { } /// Constructs a [NixHash] from the Nix default hash format, - /// the inverse of [to_nix_hex_string]. + /// the inverse of [Self::to_nix_hex_string]. pub fn from_nix_hex_str(s: &str) -> Option { let (tag, digest) = s.split_once(':')?; -- cgit 1.4.1