Skip to content

Commit 64d1c91

Browse files
authored
ascii -> ASCII in code comment
1 parent d77da9d commit 64d1c91

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)