FIX: Copilot's suggestions
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
5ff4774c5a
commit
1053d00d22
@@ -105,7 +105,7 @@ impl Model {
|
||||
if !currencies.iter().any(|e| e == currency) {
|
||||
currencies.push(currency);
|
||||
}
|
||||
// We try to parse as number
|
||||
// Try to parse as a formatted number (e.g., dates, currencies, percentages)
|
||||
if let Ok((v, _number_format)) = parse_formatted_number(&s, ¤cies) {
|
||||
return Ok(v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user