diff options
| author | Nathan Ringo <remexre@gmail.com> | 2018-02-24 23:48:51 -0600 |
|---|---|---|
| committer | Nathan Ringo <remexre@gmail.com> | 2018-02-24 23:48:51 -0600 |
| commit | 64236092e5aa8fca2b9175df5a1192fd3d46e29b (patch) | |
| tree | b96f44d16f18925a241e7bd851a416bacd85f3a2 /src | |
| parent | 026339e42ba11a559767029d933d1197aefb877a (diff) | |
| download | rust-64236092e5aa8fca2b9175df5a1192fd3d46e29b.tar.gz rust-64236092e5aa8fca2b9175df5a1192fd3d46e29b.zip | |
Fixes docs for ASCII functions to no longer claim U+0021 is '@'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 | ||||
| -rw-r--r-- | src/libstd/ascii.rs | 2 | ||||
| -rw-r--r-- | src/libstd_unicode/char.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 43330b63f9b..7d5aa25016b 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -2892,7 +2892,7 @@ impl u8 { } /// Checks if the value is an ASCII graphic character: - /// U+0021 '@' ... U+007E '~'. + /// U+0021 '!' ... U+007E '~'. /// /// # Examples /// diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index 82e1a3447dc..430c9df396a 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -245,7 +245,7 @@ pub trait AsciiExt { fn is_ascii_punctuation(&self) -> bool { unimplemented!(); } /// Checks if the value is an ASCII graphic character: - /// U+0021 '@' ... U+007E '~'. + /// U+0021 '!' ... U+007E '~'. /// For strings, true if all characters in the string are /// ASCII graphic characters. /// diff --git a/src/libstd_unicode/char.rs b/src/libstd_unicode/char.rs index b4be4a96911..844ff7a3c12 100644 --- a/src/libstd_unicode/char.rs +++ b/src/libstd_unicode/char.rs @@ -1332,7 +1332,7 @@ impl char { } /// Checks if the value is an ASCII graphic character: - /// U+0021 '@' ... U+007E '~'. + /// U+0021 '!' ... U+007E '~'. /// /// # Examples /// |
