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

Decor in DocumentMut no longer ignored #750

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

Squidroot2
Copy link
Contributor

fixes #727

When serializing the DocumentMut, the set Decor is now included. Decor suffix is written BEFORE trailing. Nothing changed about decoding so prefix at top of file will still belong to the first item and suffix at bottom will still belong to the last item.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 9838504936

Details

  • 5 of 6 (83.33%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 67.52%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/toml_edit/tests/testsuite/edit.rs 2 3 66.67%
Totals Coverage Status
Change from base Build 9736259162: 0.09%
Covered Lines: 3692
Relevant Lines: 5468

💛 - Coveralls

@epage epage merged commit 1816c10 into toml-rs:main Jul 8, 2024
14 checks passed
@Squidroot2 Squidroot2 deleted the document_root_decor branch July 8, 2024 21:52
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.

Decor in DocumentMut is ignored
3 participants