about summary refs log tree commit diff
diff options
context:
space:
mode:
authorchansuke <moonset20@gmail.com>2024-11-10 22:03:42 +0900
committerchansuke <moonset20@gmail.com>2024-11-10 22:24:06 +0900
commitb49687302050eafe8462f637840e55c87e8c4fa1 (patch)
tree95c896977205ce2f99c725a361e4a8b3b746af00
parentc24e166527cd46d3b4033b0c061d02657e3c3cbf (diff)
downloadrust-b49687302050eafe8462f637840e55c87e8c4fa1.tar.gz
rust-b49687302050eafe8462f637840e55c87e8c4fa1.zip
Update the doc comment of `ASCII_CASE_MASK`
-rw-r--r--library/core/src/num/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs
index 5a69dc0c724..51abf65cee6 100644
--- a/library/core/src/num/mod.rs
+++ b/library/core/src/num/mod.rs
@@ -528,7 +528,7 @@ impl isize {
     midpoint_impl! { isize, signed }
 }
 
-/// If the 6th bit is set ascii is lower case.
+/// If the bit selected by this mask is set, ascii is lower case.
 const ASCII_CASE_MASK: u8 = 0b0010_0000;
 
 impl u8 {