Skip to content

Commit

Permalink
expr: Fix cargo fmt of src/uu/expr/src/syntax_tree.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sargas committed Jan 19, 2025
1 parent 8c27c7f commit 1e0f697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uu/expr/src/syntax_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ fn check_posix_regex_errors(pattern: &str) -> ExprResult<()> {
escaped_braces = escaped_braces
.checked_sub(1)
.ok_or(ExprError::UnmatchedClosingBrace)?;
let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
.splitn(2, ',');
let mut repetition =
repeating_pattern_text[..repeating_pattern_text.len() - 1].splitn(2, ',');
match (
repetition
.next()
Expand Down

0 comments on commit 1e0f697

Please sign in to comment.