mirror of
https://github.com/openharmony/third_party_rust_unicode-width.git
synced 2026-07-18 21:24:37 -04:00
Update to Unicode 13
Change version fields to u8 as the maximum value of each field is 255 according to specification.
This commit is contained in:
+1
-1
@@ -292,7 +292,7 @@ if __name__ == "__main__":
|
||||
rf.write("""
|
||||
/// The version of [Unicode](http://www.unicode.org/)
|
||||
/// that this version of unicode-width is based on.
|
||||
pub const UNICODE_VERSION: (u64, u64, u64) = (%s, %s, %s);
|
||||
pub const UNICODE_VERSION: (u8, u8, u8) = (%s, %s, %s);
|
||||
|
||||
""" % unicode_version)
|
||||
gencats = load_unicode_data("UnicodeData.txt")
|
||||
|
||||
Reference in New Issue
Block a user