From 93ce9112cbc91b008e56144b22f8799557ad2541 Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 17 Jan 2025 16:27:32 -0600 Subject: [PATCH] Correct documentation of IdpfInput::prefix() --- src/idpf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/idpf.rs b/src/idpf.rs index 68f7fe36..15e26dfe 100644 --- a/src/idpf.rs +++ b/src/idpf.rs @@ -116,7 +116,7 @@ impl IdpfInput { vec.into_vec() } - /// Return the `level`-bit prefix of this IDPF input. + /// Return the prefix of this IDPF input consisting of bits zero through `level`, inclusive. pub fn prefix(&self, level: usize) -> Self { Self { index: self.index[..=level].to_owned().into(),