Skip to content

Commit 6423609

Browse files
author
Nathan Ringo
committed
Fixes docs for ASCII functions to no longer claim U+0021 is '@'.
1 parent 026339e commit 6423609

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2892,7 +2892,7 @@ impl u8 {
28922892
}
28932893

28942894
/// Checks if the value is an ASCII graphic character:
2895-
/// U+0021 '@' ... U+007E '~'.
2895+
/// U+0021 '!' ... U+007E '~'.
28962896
///
28972897
/// # Examples
28982898
///

src/libstd/ascii.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ pub trait AsciiExt {
245245
fn is_ascii_punctuation(&self) -> bool { unimplemented!(); }
246246

247247
/// Checks if the value is an ASCII graphic character:
248-
/// U+0021 '@' ... U+007E '~'.
248+
/// U+0021 '!' ... U+007E '~'.
249249
/// For strings, true if all characters in the string are
250250
/// ASCII graphic characters.
251251
///

src/libstd_unicode/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ impl char {
13321332
}
13331333

13341334
/// Checks if the value is an ASCII graphic character:
1335-
/// U+0021 '@' ... U+007E '~'.
1335+
/// U+0021 '!' ... U+007E '~'.
13361336
///
13371337
/// # Examples
13381338
///

0 commit comments

Comments
 (0)