Skip to content

Commit

Permalink
chore: fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbarsky committed Apr 4, 2023
1 parent 8fd5689 commit 66aa01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracing-subscriber/src/filter/targets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl Targets {
/// assert_eq!(filter.default_level(), Some(LevelFilter::OFF));
/// ```
pub fn default_level(&self) -> Option<LevelFilter> {
self.0.directives().into_iter().find_map(|d| {
self.0.directives().find_map(|d| {
if d.target.is_none() {
Some(d.level)
} else {
Expand Down

0 comments on commit 66aa01e

Please sign in to comment.