Skip to content

Commit

Permalink
remove unnecessary parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
drdo committed Feb 5, 2025
1 parent 2be8902 commit d40dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl Iterator for PathGenerator {
new_prefix.push(Utf8PathBuf::from(child.to_string()));
self.state.push((depth, prefix, child + 1));
if depth == 1 {
break (Some(new_prefix));
break Some(new_prefix);
} else {
self.state.push((depth - 1, new_prefix, 0));
}
Expand Down

0 comments on commit d40dc76

Please sign in to comment.