Skip to content

Commit 8a56cfa

Browse files
authored
Merge pull request #1248 from jimmycathy/master
chore: fix typo
2 parents 7627834 + af3d80d commit 8a56cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/read.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ fn push_wtf8_codepoint(n: u32, scratch: &mut Vec<u8>) {
984984
scratch.reserve(4);
985985

986986
// SAFETY: After the `reserve` call, `scratch` has at least 4 bytes of
987-
// allocated but unintialized memory after its last initialized byte, which
987+
// allocated but uninitialized memory after its last initialized byte, which
988988
// is where `ptr` points. All reachable match arms write `encoded_len` bytes
989989
// to that region and update the length accordingly, and `encoded_len` is
990990
// always <= 4.

0 commit comments

Comments
 (0)