build.rs: Address clippy::ptr_arg
.
This commit is contained in:
parent
64cd0b997e
commit
3eb07737f1
2
build.rs
2
build.rs
@ -751,7 +751,7 @@ fn asm_srcs(perlasm_src_dsts: Vec<(PathBuf, PathBuf)>) -> Vec<PathBuf> {
|
||||
.collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
fn is_perlasm(path: &PathBuf) -> bool {
|
||||
fn is_perlasm(path: &Path) -> bool {
|
||||
path.extension().unwrap().to_str().unwrap() == "pl"
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,6 @@ cargo clippy \
|
||||
--allow clippy::derive_partial_eq_without_eq \
|
||||
--allow clippy::identity_op \
|
||||
--allow clippy::len_without_is_empty \
|
||||
--allow clippy::ptr_arg \
|
||||
--allow clippy::let_unit_value \
|
||||
--allow clippy::many_single_char_names \
|
||||
--allow clippy::new_without_default \
|
||||
|
Loading…
x
Reference in New Issue
Block a user