Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Jan 9, 2025
1 parent aa9ad22 commit 0677ecd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/tauri-utils/src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ impl ResourcePathsIter<'_> {
self.current_path = None;

let pattern = match &mut self.pattern_iter {
PatternIter::Slice(iter) => match iter.next() {
Some(pattern) => pattern,
None => return None,
},
PatternIter::Slice(iter) => iter.next()?,
PatternIter::Map(iter) => match iter.next() {
Some((pattern, dest)) => {
self.current_pattern = Some(pattern.clone());
Expand Down

0 comments on commit 0677ecd

Please sign in to comment.