about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-25 17:27:57 +0800
committerkennytm <kennytm@gmail.com>2018-02-25 21:30:53 +0800
commit268b6d61894d535f8414eee923ac740d8d3fef81 (patch)
treecfaba00faab3142f0e1a9765be09c8bfd4847da1 /src/libstd
parenteb0ab5e6b25ce536cbb3032c31aa131a8f7caaa6 (diff)
parent64236092e5aa8fca2b9175df5a1192fd3d46e29b (diff)
downloadrust-268b6d61894d535f8414eee923ac740d8d3fef81.tar.gz
rust-268b6d61894d535f8414eee923ac740d8d3fef81.zip
Rollup merge of #48529 - remexre:docs/fix/unicode-0021, r=kennytm
Fixes docs for ASCII functions to no longer claim U+0021 is '@'.

Looks like a typo that got copy-pasted without anyone checking on it.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/ascii.rs2
1 files changed, 1 insertions, 1 deletions
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.
     ///