Skip to content

Implement From<inner type> for Item #717

Open
@pickx

Description

@pickx

one thing I found surprising while working with toml_edit after using toml, is that Item doesn't implement From<{Value,Table,ArrayOfTables}>, in contrast with toml::Value which does have equivalent From implementations. this makes code that manually builds a document a little more verbose.

and maybe there are more things in toml_edit which could benefit from a From implementation, like toml_edit::Value or Formatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editArea: TOML editing APIC-enhancementCategory: Raise on the bar on expectations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions