Skip to content

Commit

Permalink
Correct documentation of IdpfInput::prefix() (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Jan 24, 2025
1 parent 9457963 commit 133a46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idpf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 133a46b

Please sign in to comment.