We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a code action that extracts the right hand side of a case clause into its own block. Basically what "Add braces to arm expression" does in Rust.
Before:
case result { Ok(value) -> value + 1 ^^^^^^^^^ Error(_) -> panic }
After:
case result { Ok(value) -> { value + 1 } Error(_) -> panic }
The text was updated successfully, but these errors were encountered:
Great idea! Thank you
Sorry, something went wrong.
I'm already working on this
No branches or pull requests
Add a code action that extracts the right hand side of a case clause into its own block.
Basically what "Add braces to arm expression" does in Rust.
Before:
After:
The text was updated successfully, but these errors were encountered: