mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
fix(clippy): unnested_or_patterns
This commit is contained in:
parent
05735887b9
commit
d64fcb1826
1 changed files with 5 additions and 3 deletions
|
@ -1808,9 +1808,11 @@ fn general_bd_parse(a: &str) -> GeneralBigDecimalParseResult {
|
||||||
// Parse digits, and fold in recoverable errors
|
// Parse digits, and fold in recoverable errors
|
||||||
let ebd = match ExtendedBigDecimal::extended_parse(a) {
|
let ebd = match ExtendedBigDecimal::extended_parse(a) {
|
||||||
Err(ExtendedParserError::NotNumeric) => return GeneralBigDecimalParseResult::Invalid,
|
Err(ExtendedParserError::NotNumeric) => return GeneralBigDecimalParseResult::Invalid,
|
||||||
Err(ExtendedParserError::PartialMatch(ebd, _))
|
Err(
|
||||||
| Err(ExtendedParserError::Overflow(ebd))
|
ExtendedParserError::PartialMatch(ebd, _)
|
||||||
| Err(ExtendedParserError::Underflow(ebd))
|
| ExtendedParserError::Overflow(ebd)
|
||||||
|
| ExtendedParserError::Underflow(ebd),
|
||||||
|
)
|
||||||
| Ok(ebd) => ebd,
|
| Ok(ebd) => ebd,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue