fix formatting issues

This commit is contained in:
Dan Nasman 2024-07-20 19:33:23 +03:00 committed by Jeong, YunWon
parent 50638bd06e
commit 00d2f1d1a7

View file

@ -6,7 +6,7 @@ pub fn parse_str(literal: &str) -> Option<f64> {
parse_inner(literal.trim().as_bytes())
}
fn strip_underlines(literal: &[u8]) -> Option<Vec<u8>>{
fn strip_underlines(literal: &[u8]) -> Option<Vec<u8>> {
let mut prev = b'\0';
let mut dup = Vec::<u8>::new();
for p in literal {