Skip to content

in let statments, in indent from the lhs not the rhs #1018

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

Closed
nrc opened this issue May 30, 2016 · 2 comments
Closed

in let statments, in indent from the lhs not the rhs #1018

nrc opened this issue May 30, 2016 · 2 comments

Comments

@nrc
Copy link
Member

nrc commented May 30, 2016

Probably with an option, but this could make the rightward drift better,

e.g.,

// desirable
let a_long_name = match ... {
    a => ...,  
};

// undesirable
let a_long_name = match ... {
                          a => ...,  
                      };
@marcusklaas
Copy link
Contributor

We already do the former, no?

@nrc
Copy link
Member Author

nrc commented May 30, 2016

We apparently do? I guess the examples I was pointed at were using an old rustfmt.

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