Skip to content

Commit

Permalink
Fix clippy lint about unneeded lifetime annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnavion committed Feb 1, 2025
1 parent f2545fe commit 984acfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ pub struct SearchDirectoriesForProjectAndFileName<'a, TProject, TFileName> {
file_name: TFileName,
}

impl<'a, TProject, TFileName> SearchDirectoriesForProjectAndFileName<'a, TProject, TFileName> {
impl<TProject, TFileName> SearchDirectoriesForProjectAndFileName<'_, TProject, TFileName> {
/// Returns an [`Iterator`] of `(`[`PathBuf`]`, `[`File`]`)`s for all the files found in the specified search directories.
/// The project name is appended to each search directory, then those directories are searched for files named `file_name`.
///
Expand Down

0 comments on commit 984acfd

Please sign in to comment.