Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad identation of “for“ trait bounds #443

Open
Chris00 opened this issue Apr 17, 2022 · 0 comments
Open

Bad identation of “for“ trait bounds #443

Chris00 opened this issue Apr 17, 2022 · 0 comments

Comments

@Chris00
Copy link
Contributor

Chris00 commented Apr 17, 2022

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.)

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

No branches or pull requests

2 participants