mirror of
https://github.com/serde-rs/json.git
synced 2025-09-30 14:32:05 +00:00
Replace f64::to_string with ryu
This commit is contained in:
parent
d96b1d9b64
commit
59112ae7b1
@ -692,7 +692,7 @@ impl From<ParserNumber> for Number {
|
||||
}
|
||||
#[cfg(feature = "arbitrary_precision")]
|
||||
{
|
||||
f.to_string()
|
||||
ryu::Buffer::new().format_finite(f).to_owned()
|
||||
}
|
||||
}
|
||||
ParserNumber::U64(u) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user