Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a67f5dd

Browse files
sylvestrecakebaker
andauthored
Update src/uu/expr/src/syntax_tree.rs
Co-authored-by: Daniel Hofstetter <[email protected]>
1 parent f1f2bb9 commit a67f5dd

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
@@ -432,7 +432,7 @@ fn evaluate_match_expression(left_bytes: Vec<u8>, right_bytes: Vec<u8>) -> ExprR
432432
Some(&mut region),
433433
);
434434

435-
if let Some(_pos) = pos {
435+
if pos.is_some() {
436436
if re_ascii.captures_len() > 0 {
437437
// Get first capture group
438438
region

0 commit comments

Comments
 (0)