Don't warn too_many_lines for generated map

This commit is contained in:
Sylvestre Ledru 2023-08-21 08:33:57 +02:00
parent 7c9f4ba92a
commit 9aa59ef915

View file

@ -40,6 +40,7 @@ pub fn main() {
mf.write_all(
"type UtilityMap<T> = phf::OrderedMap<&'static str, (fn(T) -> i32, fn() -> Command)>;\n\
\n\
#[allow(clippy::too_many_lines)]
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n"
.as_bytes(),
)