Skip to content

Commit

Permalink
cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Oct 11, 2023
1 parent a36940d commit 1caec9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zebra-test/src/command/to_regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,7 @@ where
let regexes = regexes?;

// This conversion discards flags and limits from Regex and RegexBuilder.
let regexes = regexes
.iter()
.flat_map(|regex_set| regex_set.patterns());
let regexes = regexes.iter().flat_map(|regex_set| regex_set.patterns());

RegexSet::new(regexes)
}
Expand Down

0 comments on commit 1caec9a

Please sign in to comment.