Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(toml): Don't lose data when re-formatting #606

Merged
merged 3 commits into from
Sep 9, 2023
Merged

Conversation

epage
Copy link
Member

@epage epage commented Sep 9, 2023

The default formatter for toml was doing hijinks to the underlying
data, putting top-level items under values and these were just getting
dropped because toml_edit doesn't know what to do with them.

Fixes #605

The default formatter for `toml` was doing hijinks to the underlying
data, putting top-level items under values and these were just getting
dropped because `toml_edit` doesn't know what to do with them.

Fixes toml-rs#605
@epage epage merged commit 025e40e into toml-rs:main Sep 9, 2023
13 checks passed
@epage epage deleted the ser branch September 9, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structs with optional fields inside vectors of enums result in broken output
1 participant