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

docs(readme): Update example to prefer DocumentMut #825

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

slivingston
Copy link
Contributor

Thanks for these great crates! I noticed that Document is deprecated but is used in the example of the toml_edit/README. This pull request updates it to DocumentMut.

Note that the similar example at the top of lib.rs already uses DocumentMut, so https://docs.rs/toml_edit/latest/toml_edit/#example is good. However, the README appears in the crates.io page. Thus this pull request is motivated.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12841135987

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 67.983%

Totals Coverage Status
Change from base Build 12696320538: 0.0%
Covered Lines: 3752
Relevant Lines: 5519

💛 - Coveralls

@epage epage merged commit e92c3b6 into toml-rs:main Jan 18, 2025
15 checks passed
@epage
Copy link
Member

epage commented Jan 18, 2025

Thanks!

@slivingston slivingston deleted the update-docs branch January 18, 2025 23:04
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.

3 participants