Skip to content

Could we teach object! to accept trailing commas #125

Closed
@Yoric

Description

@Yoric

Right now,

object!{
  "foo" => "bar",
}

fails because of the trailing comma. It would be nicer to accept them, as in the rest of Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions