Array::push
and others explicitly apply default formatting, rather than implicitly.
#826
Labels
A-edit
Area: TOML editing API
C-bug
Category: Things not working as expected
M-breaking-change
Meta: Implementing or merging this will introduce a breaking change.
Found via rust-lang/cargo#15084 where a
&str
waspush
ed into anArray
and thensort_by_key
ed. This made it so the formatting applied bypush
was not relevant. If we delay until we render, then we'll know how to handle this.The default formatting was added in #88. I think after that we added the tracking of "this is in a default state" and wouldn't need this anymore.
The text was updated successfully, but these errors were encountered: