We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f7eb7d commit 06edf08Copy full SHA for 06edf08
library/std/src/io/error/repr_bitpacked.rs
@@ -214,7 +214,7 @@ where
214
let kind_bits = (bits >> 32) as u32;
215
let kind = kind_from_prim(kind_bits).unwrap_or_else(|| {
216
debug_assert!(false, "Invalid io::error::Repr bits: `Repr({:#018x})`", bits);
217
- // This means the `ptr` passed in was not valid, which voilates
+ // This means the `ptr` passed in was not valid, which violates
218
// the unsafe contract of `decode_repr`.
219
//
220
// Using this rather than unwrap meaningfully improves the code
0 commit comments