mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
expr: Fix cargo fmt of src/uu/expr/src/syntax_tree.rs
This commit is contained in:
parent
8c27c7f3f2
commit
1e0f697ab0
1 changed files with 2 additions and 2 deletions
|
@ -210,8 +210,8 @@ fn check_posix_regex_errors(pattern: &str) -> ExprResult<()> {
|
||||||
escaped_braces = escaped_braces
|
escaped_braces = escaped_braces
|
||||||
.checked_sub(1)
|
.checked_sub(1)
|
||||||
.ok_or(ExprError::UnmatchedClosingBrace)?;
|
.ok_or(ExprError::UnmatchedClosingBrace)?;
|
||||||
let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
|
let mut repetition =
|
||||||
.splitn(2, ',');
|
repeating_pattern_text[..repeating_pattern_text.len() - 1].splitn(2, ',');
|
||||||
match (
|
match (
|
||||||
repetition
|
repetition
|
||||||
.next()
|
.next()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue