You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a variant of #267 and I'd be tempted to close in favor of that and likely that is an issue we'll just be living with and not doing anything about.
The problem in this particular case is that we are providing a &mut and the user is overriding it. We cannot intercept this to change what is happening.
Our best option is to check every value on serialization and rewrite it behind the users back, leading to extra work and user confusion
Depending on where this is being done, a caller could just force-reformat the moved section or the entire toml.
See the reproduction here: https://github.com/messense/toml-edit-repro,
cargo run
outputsthe
part is invalid TOML.
See also:
sdist
directory. PyO3/maturin#1732sdist
broken for 0.18.12 and 0.18.13 pola-rs/polars#10366The text was updated successfully, but these errors were encountered: