about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-12-23 18:53:52 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-23 18:53:52 -0800
commit47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d (patch)
treebc8e8387ae28f20b7417530abebc3f05973d4cb6
parentac13f0da9ee2b51938e574b39f9537d2e66c5192 (diff)
downloadrust-47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d.tar.gz
rust-47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d.zip
Forgot typo-fix.
-rw-r--r--src/libcore/char.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 7d8ac4ba33a..a0833475437 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -50,7 +50,7 @@ the Unicode General Categories 'Zs', 'Zl', 'Zp' and the additional
 
 */
 pure fn is_whitespace(c: char) -> bool {
-    ret ('\x09' <= c && c <= '\x0x0d')
+    ret ('\x09' <= c && c <= '\x0d')
         || unicode::general_category::Zs(c)
         || unicode::general_category::Zl(c)
         || unicode::general_category::Zp(c);