diff --git a/dict/codespell/codegen/src/main.rs b/dict/codespell/codegen/src/main.rs index 2f5a2fa9..877a42eb 100644 --- a/dict/codespell/codegen/src/main.rs +++ b/dict/codespell/codegen/src/main.rs @@ -30,6 +30,7 @@ fn generate(file: &mut W) { env!("CARGO_PKG_NAME") ) .unwrap(); + writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap(); writeln!(file).unwrap(); writeln!(file, "use unicase::UniCase;").unwrap(); diff --git a/dict/codespell/src/dict_codegen.rs b/dict/codespell/src/dict_codegen.rs index 5996d7bb..c6a75bd5 100644 --- a/dict/codespell/src/dict_codegen.rs +++ b/dict/codespell/src/dict_codegen.rs @@ -1,4 +1,5 @@ // This file is code-genned by codespell-codegen +#![allow(clippy::unreadable_literal)] use unicase::UniCase; pub static WORD_DICTIONARY: phf::Map, &[&'static str]> = diff --git a/dict/misspell/codegen/src/main.rs b/dict/misspell/codegen/src/main.rs index 20a67881..a9b92221 100644 --- a/dict/misspell/codegen/src/main.rs +++ b/dict/misspell/codegen/src/main.rs @@ -59,6 +59,7 @@ fn generate(file: &mut W) { env!("CARGO_PKG_NAME") ) .unwrap(); + writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap(); writeln!(file).unwrap(); writeln!(file, "use unicase::UniCase;").unwrap(); diff --git a/dict/misspell/src/dict_codegen.rs b/dict/misspell/src/dict_codegen.rs index cefcfb2f..3d5b504d 100644 --- a/dict/misspell/src/dict_codegen.rs +++ b/dict/misspell/src/dict_codegen.rs @@ -1,4 +1,5 @@ // This file is code-genned by misspell-codegen +#![allow(clippy::unreadable_literal)] use unicase::UniCase; pub static MAIN_DICTIONARY: phf::Map, &[&'static str]> = diff --git a/dict/typos/codegen/src/main.rs b/dict/typos/codegen/src/main.rs index e359f6ec..b0507dd8 100644 --- a/dict/typos/codegen/src/main.rs +++ b/dict/typos/codegen/src/main.rs @@ -9,6 +9,7 @@ fn generate(file: &mut W) { env!("CARGO_PKG_NAME") ) .unwrap(); + writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap(); writeln!(file).unwrap(); writeln!(file, "use unicase::UniCase;").unwrap(); diff --git a/dict/typos/src/dict_codegen.rs b/dict/typos/src/dict_codegen.rs index 24f00627..517c634a 100644 --- a/dict/typos/src/dict_codegen.rs +++ b/dict/typos/src/dict_codegen.rs @@ -1,4 +1,5 @@ // This file is code-genned by typos-codegen +#![allow(clippy::unreadable_literal)] use unicase::UniCase; pub static WORD_DICTIONARY: phf::Map, &'static str> = ::phf::Map { diff --git a/dict/wikipedia/codegen/src/main.rs b/dict/wikipedia/codegen/src/main.rs index 2f5a2fa9..877a42eb 100644 --- a/dict/wikipedia/codegen/src/main.rs +++ b/dict/wikipedia/codegen/src/main.rs @@ -30,6 +30,7 @@ fn generate(file: &mut W) { env!("CARGO_PKG_NAME") ) .unwrap(); + writeln!(file, "#![allow(clippy::unreadable_literal)]",).unwrap(); writeln!(file).unwrap(); writeln!(file, "use unicase::UniCase;").unwrap(); diff --git a/dict/wikipedia/src/dict_codegen.rs b/dict/wikipedia/src/dict_codegen.rs index 810cd70b..8a12d134 100644 --- a/dict/wikipedia/src/dict_codegen.rs +++ b/dict/wikipedia/src/dict_codegen.rs @@ -1,4 +1,5 @@ // This file is code-genned by wikipedia-codegen +#![allow(clippy::unreadable_literal)] use unicase::UniCase; pub static WORD_DICTIONARY: phf::Map, &[&'static str]> =