Skip to content

Commit ee0b755

Browse files
authored
Rollup merge of #100175 - fxn:patch-1, r=Mark-Simulacrum
ascii -> ASCII in code comment Easy one I spotted while reading source code.
2 parents f0ff31f + 64d1c91 commit ee0b755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2353,7 +2353,7 @@ impl str {
23532353
#[inline]
23542354
pub fn is_ascii(&self) -> bool {
23552355
// We can treat each byte as character here: all multibyte characters
2356-
// start with a byte that is not in the ascii range, so we will stop
2356+
// start with a byte that is not in the ASCII range, so we will stop
23572357
// there already.
23582358
self.as_bytes().is_ascii()
23592359
}

0 commit comments

Comments
 (0)