]> git.lizzy.rs Git - rust.git/commitdiff
Fixes docs for ASCII functions to no longer claim U+0021 is '@'.
authorNathan Ringo <remexre@gmail.com>
Sun, 25 Feb 2018 05:48:51 +0000 (23:48 -0600)
committerNathan Ringo <remexre@gmail.com>
Sun, 25 Feb 2018 05:48:51 +0000 (23:48 -0600)
src/libcore/num/mod.rs
src/libstd/ascii.rs
src/libstd_unicode/char.rs

index 43330b63f9b9c4e9338bad4ac098a3c9e18a07ea..7d5aa25016bdd66a8cc24ad33a708b73d517f599 100644 (file)
@@ -2892,7 +2892,7 @@ pub fn is_ascii_punctuation(&self) -> bool {
     }
 
     /// Checks if the value is an ASCII graphic character:
-    /// U+0021 '@' ... U+007E '~'.
+    /// U+0021 '!' ... U+007E '~'.
     ///
     /// # Examples
     ///
index 82e1a3447dc5d10f33e7f4f740ab732c875476dc..430c9df396a5ec4b61d04a53efa5c9df9fa44354 100644 (file)
@@ -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.
     ///
index b4be4a9691183d595e5a7a04534e1cd0365014bf..844ff7a3c12521a3d4447c5a4674e53a42a98a2e 100644 (file)
@@ -1332,7 +1332,7 @@ pub fn is_ascii_punctuation(&self) -> bool {
     }
 
     /// Checks if the value is an ASCII graphic character:
-    /// U+0021 '@' ... U+007E '~'.
+    /// U+0021 '!' ... U+007E '~'.
     ///
     /// # Examples
     ///