mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-09 22:25:23 +00:00
fix formatting issues
This commit is contained in:
parent
50638bd06e
commit
00d2f1d1a7
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ pub fn parse_str(literal: &str) -> Option<f64> {
|
||||||
parse_inner(literal.trim().as_bytes())
|
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 prev = b'\0';
|
||||||
let mut dup = Vec::<u8>::new();
|
let mut dup = Vec::<u8>::new();
|
||||||
for p in literal {
|
for p in literal {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue