Skip to content

Bad identation of “for“ trait bounds #443

Open
@Chris00

Description

@Chris00

At the moment, the code is indented as

fn f<T>(v: &T)
where
    T: Zero,
for <'a> &'a T: <Output=&'a T>

while the correct indentation is

fn f<T>(v: &T)
where
    T: Zero,
    for <'a> &'a T: <Output=&'a T>

(It does not happen if “for“ is on the first line.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions