Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Nov 9, 2024
1 parent 2a58e4e commit c443bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lenient_parse/internal/tokenizer.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn do_tokenize_float(
let token = case first {
"." -> DecimalPoint
"e" | "E" -> ExponentSymbol(first)
_ -> common_token(first, fn(value) { value < base }, base)
_ -> common_token(first, fn(digit_value) { digit_value < base }, base)
}
do_tokenize_float(characters: rest, acc: [token, ..acc])
}
Expand Down

0 comments on commit c443bfb

Please sign in to comment.