Skip to content

fmt! does not depend on commas between arguments #4982

Closed
@Kimundi

Description

@Kimundi

This code

io::println(fmt!("String %s number %d" "foo" 13));

compiles and produces the same output as

io::println(fmt!("String %s number %d", "foo", 13));

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-syntaxextArea: Syntax extensions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions