diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-05-03 16:57:20 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-05-03 17:45:06 -0700 |
| commit | 82d4fe3967a6e6b7bde5d70644cf3eca23763932 (patch) | |
| tree | 3ae56f0a2ee8bd3a875fb07e990484d6bf2ee388 /src/libstd | |
| parent | 97c0b3848d127c9966b6d71baa68c560b1f78845 (diff) | |
| download | rust-82d4fe3967a6e6b7bde5d70644cf3eca23763932.tar.gz rust-82d4fe3967a6e6b7bde5d70644cf3eca23763932.zip | |
Write unicode::icu::UCHAR_INVALID_CODE as -1, removing a FIXME
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/unicode.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/unicode.rs b/src/libstd/unicode.rs index 1640888dd01..c5bfd302305 100644 --- a/src/libstd/unicode.rs +++ b/src/libstd/unicode.rs @@ -144,9 +144,7 @@ mod icu { // = UCHAR_SCRIPT_EXTENSIONS; const UCHAR_OTHER_PROPERTY_LIMIT : UProperty = 0x7001; - const UCHAR_INVALID_CODE : UProperty = 0xffffffff; - // FIXME: should be -1, change when compiler supports negative - // constants + const UCHAR_INVALID_CODE : UProperty = -1; #[link_name = "icuuc"] #[abi = "cdecl"] |
