Closed satarsa closed 1 year ago
I found that it happens only if f64 is -0.0 (i.e 0b10000....), if it helps.
Fixed in https://github.com/alexcrichton/toml-rs/pull/426 (not released to crates.io)
Now released: https://github.com/alexcrichton/toml-rs/releases/tag/0.5.9
Yep, thanks, can be closed, I guess.
I use confy to store float values in toml. It was working fine until recently (a month ago?) instead of storing something like
value = 0.0
it is stored likevalue = --0.0
and of course after restart confy returns an error on this value. I understand that this is probably a bug in the toml crate (?) which has likely got a minor update which breaks confy, but I am not sure how to report the issue there.