mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix(clippy): unnested_or_patterns
This commit is contained in:
@@ -1808,9 +1808,11 @@ fn general_bd_parse(a: &str) -> GeneralBigDecimalParseResult {
|
||||
// Parse digits, and fold in recoverable errors
|
||||
let ebd = match ExtendedBigDecimal::extended_parse(a) {
|
||||
Err(ExtendedParserError::NotNumeric) => return GeneralBigDecimalParseResult::Invalid,
|
||||
Err(ExtendedParserError::PartialMatch(ebd, _))
|
||||
| Err(ExtendedParserError::Overflow(ebd))
|
||||
| Err(ExtendedParserError::Underflow(ebd))
|
||||
Err(
|
||||
ExtendedParserError::PartialMatch(ebd, _)
|
||||
| ExtendedParserError::Overflow(ebd)
|
||||
| ExtendedParserError::Underflow(ebd),
|
||||
)
|
||||
| Ok(ebd) => ebd,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user