Skip to content

error! and debug! escape single quotes strangely #3752

Description

@catamorphism
fn main() {
    error!("It's time for dinner!");
}

prints

rust: ~"It\'s time for dinner!"

io::println prints the correct output. Not a big deal, just a little strange.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-syntaxextArea: Syntax extensionsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions