improv: Apply suggestions from clippy
This commit is contained in:
parent
aa17efd34d
commit
690f3257bd
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::path::PathBuf;
|
||||
|
||||
pub fn find<'a>(name: &'a str) -> impl Iterator<Item = PathBuf> + 'a {
|
||||
pub fn find(name: &'_ str) -> impl Iterator<Item = PathBuf> + '_ {
|
||||
crate::plugin_paths()
|
||||
.filter_map(|path| path.read_dir().ok())
|
||||
.flat_map(move |dir| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue