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
switch x { _ => x }
get formatted to:
switch x { x => x }
The text was updated successfully, but these errors were encountered:
2adaa25
One nit-pick: For default case, it puts two spaces after the underscore instead of one:
Sorry, something went wrong.
Since we're at it, here are a few more:
fn add(a, b) { a + b // comment }
Result:
fn add(a, b) { a + b }
The comment is gone.
fn add(a, b) { a + b; // a very very very looooooooonnnnnng long long long long long long comment }
is formatted to:
If a line comment is too long, the item gets moved to the second line, which looks strange.
Missing space before line comment if it is right after an open {.
{
No branches or pull requests
get formatted to:
The text was updated successfully, but these errors were encountered: