about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-12 23:26:42 +0100
committerGitHub <noreply@github.com>2024-11-12 23:26:42 +0100
commit5419f41f9ae624e3e849c4710190c51421bde694 (patch)
tree1690933adef79689a1618cab54c3597e5c3ed614
parentbd79fe7a94b8191ef580db7789fc55291eb825f1 (diff)
parentb49687302050eafe8462f637840e55c87e8c4fa1 (diff)
downloadrust-5419f41f9ae624e3e849c4710190c51421bde694.tar.gz
rust-5419f41f9ae624e3e849c4710190c51421bde694.zip
Rollup merge of #132851 - chansuke:update-comment, r=thomcc
Update the doc comment of `ASCII_CASE_MASK`

Revived and continued the work from https://github.com/rust-lang/rust/pull/120282.

the original [branch](https://github.com/mahmudsudo/rust-1/tree/patch-1) was deleted, i created a new branch to carry the changes forward
-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 {