From 690f3257bd9700abe1c09a89e5a4b64409ad65a7 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Mon, 16 Aug 2021 13:27:18 +0200 Subject: [PATCH] improv: Apply suggestions from clippy --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 1fbf17a..bda045b 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,6 +1,6 @@ use std::path::PathBuf; -pub fn find<'a>(name: &'a str) -> impl Iterator + 'a { +pub fn find(name: &'_ str) -> impl Iterator + '_ { crate::plugin_paths() .filter_map(|path| path.read_dir().ok()) .flat_map(move |dir| {