@@ -675,7 +675,7 @@ impl Compressor {
675675 // Now, downshift the `word` and the `entry` to see if they align.
676676 let ignored_bits = entry. ignored_bits ;
677677 if entry. code != Code :: UNUSED
678- && compare_masked ( word, entry. symbol . as_u64 ( ) , ignored_bits)
678+ && compare_masked ( word, entry. symbol . to_u64 ( ) , ignored_bits)
679679 {
680680 // Advance the input by the symbol length (variable) and the output by one code byte
681681 // SAFETY: out_ptr is not null.
@@ -773,7 +773,7 @@ impl Compressor {
773773
774774 let remaining_bytes = remaining_bytes as usize ;
775775
776- // Load the last `remaining_byte`s of data into a final world . We then replicate the loop above,
776+ // Load the last `remaining_byte`s of data into a final word . We then replicate the loop above,
777777 // but shift data out of this word rather than advancing an input pointer and potentially reading
778778 // unowned memory.
779779 let mut bytes = [ 0u8 ; 8 ] ;
@@ -840,7 +840,7 @@ impl Compressor {
840840 "output buffer sized too small"
841841 ) ;
842842
843- // Load the last `remaining_byte`s of data into a final world . We then replicate the loop above,
843+ // Load the last `remaining_byte`s of data into a final word . We then replicate the loop above,
844844 // but shift data out of this word rather than advancing an input pointer and potentially reading
845845 // unowned memory.
846846 let mut bytes = [ 0u8 ; 8 ] ;
0 commit comments