fix some typos

This commit is contained in:
rvcas
2023-04-07 16:51:18 -04:00
parent d0d482b3cb
commit 1444c9328d
16 changed files with 26 additions and 26 deletions

View File

@@ -291,7 +291,7 @@ impl Encoder {
}
}
/// Write out byte regardless of current buffer alignment.
/// Write most signifcant bits in remaining unused bits for the current byte,
/// Write most significant bits in remaining unused bits for the current byte,
/// then write out the remaining bits at the beginning of the next byte.
fn byte_unaligned(&mut self, x: u8) {
let x_shift = self.current_byte | (x >> self.used_bits);