Skip to content

Commit 06edf08

Browse files
thomccthe8472
andcommitted
Update library/std/src/io/error/repr_bitpacked.rs
Co-authored-by: the8472 <[email protected]>
1 parent 9f7eb7d commit 06edf08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/error/repr_bitpacked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ where
214214
let kind_bits = (bits >> 32) as u32;
215215
let kind = kind_from_prim(kind_bits).unwrap_or_else(|| {
216216
debug_assert!(false, "Invalid io::error::Repr bits: `Repr({:#018x})`", bits);
217-
// This means the `ptr` passed in was not valid, which voilates
217+
// This means the `ptr` passed in was not valid, which violates
218218
// the unsafe contract of `decode_repr`.
219219
//
220220
// Using this rather than unwrap meaningfully improves the code

0 commit comments

Comments
 (0)