Skip to content

Commit

Permalink
fix bad deprecation version; fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
somethingelseentirely committed Sep 10, 2024
1 parent 975e436 commit 297c500
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wavelet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2011,16 +2011,16 @@ impl WaveletMatrix {
Some(WaveletSortedNumIter::new(self))
}
}

/// Get the number of bits per element in the alphabet of the encoded sequence.
#[must_use]
#[inline(always)]
pub fn bits_per_element(&self) -> usize {
self.data.len()
}

/// Get the number of bits per element in the alphabet of the encoded sequence.
#[deprecated(since="0.1.6", note="please use `bits_per_element` instead")]
#[deprecated(since = "1.5.1", note = "please use `bits_per_element` instead")]
pub fn bit_len(&self) -> u16 {
self.bits_per_element() as u16
}
Expand Down

0 comments on commit 297c500

Please sign in to comment.