Skip to content

Commit 59fb997

Browse files
authored
Rollup merge of rust-lang#62084 - euclio:unicode-table-tweak, r=kennytm
allow clippy::unreadable_literal in unicode tables Also modifies the generation script to emit 2018 edition paths.
2 parents a3a4c7c + dee3d27 commit 59fb997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/unicode/tables.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: The following code was generated by "./unicode.py", do not edit directly
22

3-
#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
3+
#![allow(missing_docs, non_upper_case_globals, non_snake_case, clippy::unreadable_literal)]
44

55
use crate::unicode::version::UnicodeVersion;
66
use crate::unicode::bool_trie::{BoolTrie, SmallBoolTrie};

src/libcore/unicode/unicode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class UnicodeFiles(object):
7979
PREAMBLE = """\
8080
// NOTE: The following code was generated by "./unicode.py", do not edit directly
8181
82-
#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
82+
#![allow(missing_docs, non_upper_case_globals, non_snake_case, clippy::unreadable_literal)]
8383
8484
use crate::unicode::version::UnicodeVersion;
8585
use crate::unicode::bool_trie::{{BoolTrie, SmallBoolTrie}};

0 commit comments

Comments
 (0)