Skip to content

Commit 12c05ff

Browse files
committed
fix typos
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent e3e837b commit 12c05ff

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ impl CompressorBuilder {
705705
);
706706
let remaining_bytes = remaining_bytes as usize;
707707

708-
// Load the last `remaining_byte`s of data into a final world. We then replicate the loop above,
708+
// Load the last `remaining_byte`s of data into a final word. We then replicate the loop above,
709709
// but shift data out of this word rather than advancing an input pointer and potentially reading
710710
// unowned memory
711711
let mut bytes = [0u8; 8];

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)