docs(nix-compat/nixhash): fix reference
Change-Id: I95c35a1405601c6f79cbc03462ab7c7cd6f08f2a Reviewed-on: https://cl.tvl.fyi/c/depot/+/10397 Tested-by: BuildkiteCI Reviewed-by: edef <edef@edef.eu> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
1c3ea9d83d
commit
ca0a8f5603
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ impl NixHash {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Constructs a [NixHash] from the Nix default hash format,
|
/// 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<Self> {
|
pub fn from_nix_hex_str(s: &str) -> Option<Self> {
|
||||||
let (tag, digest) = s.split_once(':')?;
|
let (tag, digest) = s.split_once(':')?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue