Skip to content

emacs mode indendation is wrong for string constants with backslashes #13568

Closed
@nikomatsakis

Description

@nikomatsakis

the following code indents oddly:

pub fn foo() {
    format!("abc \
def")
}

I expect:

pub fn foo() {
    format!("abc \
             def")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions