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.
This commit is contained in:
Mazdak Farrokhzad 2019-07-26 18:56:33 +02:00 committed by GitHub
commit 68d94bd741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
// NOTE: The following code was generated by "./unicode.py", do not edit directly // 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::version::UnicodeVersion;
use crate::unicode::bool_trie::{BoolTrie, SmallBoolTrie}; use crate::unicode::bool_trie::{BoolTrie, SmallBoolTrie};

View File

@ -79,7 +79,7 @@ FETCH_URL_VERSION = "ftp://ftp.unicode.org/Public/{version}/ucd/{filename}"
PREAMBLE = """\ PREAMBLE = """\
// NOTE: The following code was generated by "./unicode.py", do not edit directly // 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::version::UnicodeVersion;
use crate::unicode::bool_trie::{{BoolTrie, SmallBoolTrie}}; use crate::unicode::bool_trie::{{BoolTrie, SmallBoolTrie}};