Skip to content

Commit

Permalink
Use lexical_core in CSV and JSON parser (#4050)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Apr 11, 2023
1 parent 884ab4e commit 768430f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-cast/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ macro_rules! parser_primitive {
($t:ty) => {
impl Parser for $t {
fn parse(string: &str) -> Option<Self::Native> {
string.parse::<Self::Native>().ok()
lexical_core::parse::<Self::Native>(string.as_bytes()).ok()
}
}
};
Expand Down

0 comments on commit 768430f

Please sign in to comment.