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: Clear decor when converting types #265

Merged
merged 1 commit into from
Nov 23, 2021
Merged

fix: Clear decor when converting types #265

merged 1 commit into from
Nov 23, 2021

Conversation

epage
Copy link
Member

@epage epage commented Nov 23, 2021

The likelihood of a user changing from Item to Value to Item and wanting
the decor roundtripped is extremely low. The likelihood the user will
do Item to Value and not want the original formatting is extremely
high.

Let's favor the more likely outcome.

The likelihood of a user changing from Item to Value to Item and wanting
the decor roundtripped is extremely low.  The likelihood the user will
do Item to Value and *not* want the original formatting is extremely
high.

Let's favor the more likely outcome.
@epage epage merged commit 3105fed into toml-rs:master Nov 23, 2021
@epage epage deleted the into branch November 23, 2021 21:07
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.

1 participant