mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 01:17:09 +00:00
build.rs: silence clippy warnings
This commit is contained in:
parent
3300d80e3f
commit
7c5395a27a
1 changed files with 2 additions and 0 deletions
2
build.rs
2
build.rs
|
@ -46,6 +46,8 @@ pub fn main() {
|
|||
"type UtilityMap<T> = HashMap<&'static str, (fn(T) -> i32, fn() -> App<'static, 'static>)>;\n\
|
||||
\n\
|
||||
fn util_map<T: uucore::Args>() -> UtilityMap<T> {\n\
|
||||
\t#[allow(unused_mut)]\n\
|
||||
\t#[allow(clippy::let_and_return)]\n\
|
||||
\tlet mut map = UtilityMap::new();\n\
|
||||
"
|
||||
.as_bytes(),
|
||||
|
|
Loading…
Reference in a new issue