Skip to content

Commit

Permalink
Fix new clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Apr 20, 2024
1 parent 9647b25 commit a18d7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl ContentFileSettings {
pub(crate) fn for_path(
&self,
path: &Utf8Path,
) -> impl Iterator<Item = &ContentFileConfig> + DoubleEndedIterator {
) -> impl DoubleEndedIterator<Item = &ContentFileConfig> {
self.globset.matches(path).into_iter().map(|idx| &self.values[idx])
}
}
Expand Down

0 comments on commit a18d7ac

Please sign in to comment.