Skip to content

Commit 8c27c7f

Browse files
sylvestresargas
authored andcommitted
Update src/uu/expr/src/syntax_tree.rs
1 parent 6701c6e commit 8c27c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uu/expr/src/syntax_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ fn check_posix_regex_errors(pattern: &str) -> ExprResult<()> {
211211
.checked_sub(1)
212212
.ok_or(ExprError::UnmatchedClosingBrace)?;
213213
let mut repetition = repeating_pattern_text[..repeating_pattern_text.len() - 1]
214-
.splitn(2, |x| x == ',');
214+
.splitn(2, ',');
215215
match (
216216
repetition
217217
.next()

0 commit comments

Comments
 (0)