FIX: Make clippy happy. automatic update
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
793534b190
commit
7756ef7f48
@@ -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)> {
|
||||
|
||||
Reference in New Issue
Block a user