rust-mobile / ndk

Rust bindings to the Android NDK
Apache License 2.0
1.11k stars 110 forks source link

cargo-apk: Fix improved `clippy::needless_borrow` #361

Closed MarijnS95 closed 1 year ago

MarijnS95 commented 1 year ago

Rust 1.65 stepped up its clippy::needless_borrow game around types and their borrows implementing a certain trait, realizing that &PathBuf already implements AsRef<Path> and doesn't need to be reborrowed as &&PathBuf.