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

Rustfmt doesn't fix indentation when using the let_chains feature #5642

Closed
FinnRG opened this issue Dec 28, 2022 · 1 comment
Closed

Rustfmt doesn't fix indentation when using the let_chains feature #5642

FinnRG opened this issue Dec 28, 2022 · 1 comment

Comments

@FinnRG
Copy link

FinnRG commented Dec 28, 2022

Playground

Minimal example:

#![feature(let_chains)]

fn main() {
    let t = Some(32);
    if true && let Some(t) = t {
            println!("Hello, World!"); // This should be changed to 4 spaces
    }
}
@FinnRG
Copy link
Author

FinnRG commented Dec 28, 2022

This will be closed with #5203.

@FinnRG FinnRG closed this as completed Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant