diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-12-23 18:53:52 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-12-23 18:53:52 -0800 |
| commit | 47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d (patch) | |
| tree | bc8e8387ae28f20b7417530abebc3f05973d4cb6 | |
| parent | ac13f0da9ee2b51938e574b39f9537d2e66c5192 (diff) | |
| download | rust-47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d.tar.gz rust-47271ab4c85ecc4b7c3f1c079f8bc221a5d7ca0d.zip | |
Forgot typo-fix.
| -rw-r--r-- | src/libcore/char.rs | 2 |
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); |
