about summary refs log tree commit diff
path: root/src/libcore/unicode/unicode.py
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-26 18:56:33 +0200
committerGitHub <noreply@github.com>2019-07-26 18:56:33 +0200
commit68d94bd7419eae23e17a7c59c5cb1ad197101ae9 (patch)
tree47443fcdf6dbbd4788178dd20560f55c15e65b33 /src/libcore/unicode/unicode.py
parent1a563362865e6051d4c350544131228e8eff5138 (diff)
parentdee3d27d9d69aa66429cec5fb8ca7cdd46ab6019 (diff)
downloadrust-68d94bd7419eae23e17a7c59c5cb1ad197101ae9.tar.gz
rust-68d94bd7419eae23e17a7c59c5cb1ad197101ae9.zip
Rollup merge of #62084 - euclio:unicode-table-tweak, r=kennytm
allow clippy::unreadable_literal in unicode tables

Also modifies the generation script to emit 2018 edition paths.
Diffstat (limited to 'src/libcore/unicode/unicode.py')
-rwxr-xr-xsrc/libcore/unicode/unicode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/unicode/unicode.py b/src/libcore/unicode/unicode.py
index 3a20d0548c1..5389d1cf803 100755
--- a/src/libcore/unicode/unicode.py
+++ b/src/libcore/unicode/unicode.py
@@ -79,7 +79,7 @@ FETCH_URL_VERSION = "ftp://ftp.unicode.org/Public/{version}/ucd/{filename}"
 PREAMBLE = """\
 // NOTE: The following code was generated by "./unicode.py", do not edit directly
 
-#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
+#![allow(missing_docs, non_upper_case_globals, non_snake_case, clippy::unreadable_literal)]
 
 use crate::unicode::version::UnicodeVersion;
 use crate::unicode::bool_trie::{{BoolTrie, SmallBoolTrie}};