Skip to content

Commit

Permalink
Apply lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
camchenry committed Sep 21, 2024
1 parent 18439ba commit 9bb4155
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ fn get_pattern_replacement<'a>(
.regex
.pattern
.as_pattern()
.map(|pattern| pattern.body.body.first().map(|it| &it.body))
.flatten()
.and_then(|pattern| pattern.body.body.first().map(|it| &it.body))
else {
return None;
};
Expand Down

0 comments on commit 9bb4155

Please sign in to comment.