-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't drop comments between items in TOML tables (#9784)
## Summary If you look at Ed's reply [here](toml-rs/toml#818 (comment)), it sounds like we're being too heavy-handed in applying `.fmt()`. I think I added this to handle an issue with inline tables whereby we were inserting a space after a trailing comma? So now I'm just applying `.fmt()` to inline tables, which don't allow comments between elements anyway. Closes #9758.
- Loading branch information
1 parent
c809462
commit 4a21daf
Showing
2 changed files
with
163 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters