We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77da9d commit 64d1c91Copy full SHA for 64d1c91
library/core/src/str/mod.rs
@@ -2353,7 +2353,7 @@ impl str {
2353
#[inline]
2354
pub fn is_ascii(&self) -> bool {
2355
// 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
+ // start with a byte that is not in the ASCII range, so we will stop
2357
// there already.
2358
self.as_bytes().is_ascii()
2359
}
0 commit comments