FIX: Make clippy happy. automatic update

This commit is contained in:
Nicolás Hatcher
2025-04-15 15:27:21 +02:00
committed by Nicolás Hatcher Andrés
parent 793534b190
commit 7756ef7f48
4 changed files with 13 additions and 34 deletions

View File

@@ -178,10 +178,7 @@ impl Lexer {
}
}
self.position = position;
match chars.parse::<f64>() {
Err(_) => None,
Ok(v) => Some(v),
}
chars.parse::<f64>().ok()
}
fn consume_condition(&mut self) -> Option<(Compare, f64)> {