Skip to content

Commit d64fcb1

Browse files
committed
fix(clippy): unnested_or_patterns
1 parent 0573588 commit d64fcb1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/uu/sort/src/sort.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,9 +1808,11 @@ fn general_bd_parse(a: &str) -> GeneralBigDecimalParseResult {
18081808
// Parse digits, and fold in recoverable errors
18091809
let ebd = match ExtendedBigDecimal::extended_parse(a) {
18101810
Err(ExtendedParserError::NotNumeric) => return GeneralBigDecimalParseResult::Invalid,
1811-
Err(ExtendedParserError::PartialMatch(ebd, _))
1812-
| Err(ExtendedParserError::Overflow(ebd))
1813-
| Err(ExtendedParserError::Underflow(ebd))
1811+
Err(
1812+
ExtendedParserError::PartialMatch(ebd, _)
1813+
| ExtendedParserError::Overflow(ebd)
1814+
| ExtendedParserError::Underflow(ebd),
1815+
)
18141816
| Ok(ebd) => ebd,
18151817
};
18161818

0 commit comments

Comments
 (0)