From 82d4fe3967a6e6b7bde5d70644cf3eca23763932 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 3 May 2012 16:57:20 -0700 Subject: [PATCH] Write unicode::icu::UCHAR_INVALID_CODE as -1, removing a FIXME --- src/libstd/unicode.rs | 4 +--- 1 file changed, 1 insertion(+), 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"]