Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
KillingSpark committed Oct 23, 2023
1 parent f4a6fc0 commit 9e9d204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fse/fse_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn highest_bit_set(x: u32) -> u32 {
impl<'t> FSEDecoder<'t> {
pub fn new(table: &'t FSETable) -> FSEDecoder<'_> {
FSEDecoder {
state: table.decode.get(0).copied().unwrap_or(Entry {
state: table.decode.first().copied().unwrap_or(Entry {
base_line: 0,
num_bits: 0,
symbol: 0,
Expand Down

0 comments on commit 9e9d204

Please sign in to comment.