about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThom Chiovoloni <chiovolonit@gmail.com>2021-08-10 11:07:30 -0700
committerThom Chiovoloni <chiovolonit@gmail.com>2022-02-04 18:47:30 -0800
commit06edf082c313de1424b06928457d76576302ba2f (patch)
treee41b14e2747354618dcb64ba74a50595ddf4bb09
parent9f7eb7d4732e1acfa461439bf8ae30753271419f (diff)
downloadrust-06edf082c313de1424b06928457d76576302ba2f.tar.gz
rust-06edf082c313de1424b06928457d76576302ba2f.zip
Update library/std/src/io/error/repr_bitpacked.rs
Co-authored-by: the8472 <the8472@users.noreply.github.com>
-rw-r--r--library/std/src/io/error/repr_bitpacked.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error/repr_bitpacked.rs b/library/std/src/io/error/repr_bitpacked.rs
index b61a64f4f9a..9b7c34f67a0 100644
--- a/library/std/src/io/error/repr_bitpacked.rs
+++ b/library/std/src/io/error/repr_bitpacked.rs
@@ -214,7 +214,7 @@ where
             let kind_bits = (bits >> 32) as u32;
             let kind = kind_from_prim(kind_bits).unwrap_or_else(|| {
                 debug_assert!(false, "Invalid io::error::Repr bits: `Repr({:#018x})`", bits);
-                // This means the `ptr` passed in was not valid, which voilates
+                // This means the `ptr` passed in was not valid, which violates
                 // the unsafe contract of `decode_repr`.
                 //
                 // Using this rather than unwrap meaningfully improves the code