mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
Don't warn too_many_lines for generated map
This commit is contained in:
parent
7c9f4ba92a
commit
9aa59ef915
1 changed files with 1 additions and 0 deletions
1
build.rs
1
build.rs
|
@ -40,6 +40,7 @@ pub fn main() {
|
||||||
mf.write_all(
|
mf.write_all(
|
||||||
"type UtilityMap<T> = phf::OrderedMap<&'static str, (fn(T) -> i32, fn() -> Command)>;\n\
|
"type UtilityMap<T> = phf::OrderedMap<&'static str, (fn(T) -> i32, fn() -> Command)>;\n\
|
||||||
\n\
|
\n\
|
||||||
|
#[allow(clippy::too_many_lines)]
|
||||||
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n"
|
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n"
|
||||||
.as_bytes(),
|
.as_bytes(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue