Skip to content

Commit 4c4230e

Browse files
committed
Merge branch 'pr-56' into HEAD
2 parents 20679bc + 75aef29 commit 4c4230e

File tree

3 files changed

+11836
-10372
lines changed

3 files changed

+11836
-10372
lines changed

scripts/unicode.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import collections
2121
import urllib.request
2222

23-
UNICODE_VERSION = "9.0.0"
23+
UNICODE_VERSION = "13.0.0"
2424
UCD_URL = "https://www.unicode.org/Public/%s/ucd/" % UNICODE_VERSION
2525

2626
PREAMBLE = """// Copyright 2012-2018 The Rust Project Developers. See the COPYRIGHT
@@ -483,7 +483,7 @@ def minimal_perfect_hash(d):
483483

484484
version = "(%s, %s, %s)" % tuple(UNICODE_VERSION.split("."))
485485
out.write("#[allow(unused)]\n")
486-
out.write("pub const UNICODE_VERSION: (u64, u64, u64) = %s;\n\n" % version)
486+
out.write("pub const UNICODE_VERSION: (u8, u8, u8) = %s;\n\n" % version)
487487

488488
gen_combining_class(data.combining_classes, out)
489489
out.write("\n")

0 commit comments

Comments
 (0)