FIX: Cargo fmt
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
0be7d9b85a
commit
5744ae4d77
@@ -572,9 +572,7 @@ impl Lexer {
|
||||
}
|
||||
self.position = position;
|
||||
match chars.parse::<f64>() {
|
||||
Err(_) => {
|
||||
Err(self.set_error(&format!("Failed to parse to double: {chars}"), position))
|
||||
}
|
||||
Err(_) => Err(self.set_error(&format!("Failed to parse to double: {chars}"), position)),
|
||||
Ok(v) => Ok(v),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user