We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7627834 + af3d80d commit 8a56cfaCopy full SHA for 8a56cfa
src/read.rs
@@ -984,7 +984,7 @@ fn push_wtf8_codepoint(n: u32, scratch: &mut Vec<u8>) {
984
scratch.reserve(4);
985
986
// SAFETY: After the `reserve` call, `scratch` has at least 4 bytes of
987
- // allocated but unintialized memory after its last initialized byte, which
+ // allocated but uninitialized memory after its last initialized byte, which
988
// is where `ptr` points. All reachable match arms write `encoded_len` bytes
989
// to that region and update the length accordingly, and `encoded_len` is
990
// always <= 4.
0 commit comments