From 47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 23 Dec 2011 18:53:52 -0800 Subject: [PATCH] Forgot typo-fix. --- src/libcore/char.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 7d8ac4ba33a6..a08334754374 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);