Skip to content

Array::push and others explicitly apply default formatting, rather than implicitly. #826

Open
@epage

Description

@epage

Found via rust-lang/cargo#15084 where a &str was pushed into an Array and then sort_by_keyed. This made it so the formatting applied by push 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editArea: TOML editing APIC-bugCategory: Things not working as expectedM-breaking-changeMeta: Implementing or merging this will introduce a breaking change.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions