Skip to content

Debug (Hello World/Formatted print/) output has a backwards slash in it #571

@KingOfThePirates

Description

@KingOfThePirates

http://rustbyexample.com/hello/print/print_debug.html

println!("{1:?} {0:?} is the {actor:?} name.",
             "Slater",
             "Christian",
             actor="actor's");

Output
"Christian" "Slater" is the "actor\'s" name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions