diff --git a/build.rs b/build.rs index b7d28fac3..c69ba58d1 100644 --- a/build.rs +++ b/build.rs @@ -751,7 +751,7 @@ fn asm_srcs(perlasm_src_dsts: Vec<(PathBuf, PathBuf)>) -> Vec { .collect::>() } -fn is_perlasm(path: &PathBuf) -> bool { +fn is_perlasm(path: &Path) -> bool { path.extension().unwrap().to_str().unwrap() == "pl" } diff --git a/mk/clippy.sh b/mk/clippy.sh index 905706212..bfc38959a 100755 --- a/mk/clippy.sh +++ b/mk/clippy.sh @@ -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 \