Skip to content

Commit

Permalink
remove unneeded turbofish
Browse files Browse the repository at this point in the history
  • Loading branch information
malta895 committed Sep 12, 2024
1 parent e2baca9 commit 61c1ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ enum State {

fn parse_string_number_to_float(number_string: String) -> Result<f64, JSONError> {
number_string
.parse::<f64>()
.parse()
.map_err(|e| JSONError::new(format!("Unexpected error: {}", e), 1))
}

Expand Down

0 comments on commit 61c1ca9

Please sign in to comment.