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

Better format do-while #317

Closed
respel opened this issue Jun 15, 2021 · 0 comments · Fixed by #364
Closed

Better format do-while #317

respel opened this issue Jun 15, 2021 · 0 comments · Fixed by #364

Comments

@respel
Copy link

respel commented Jun 15, 2021

//Is
do
{
    x = 1;
} 
while (true);

//ShouldBe

do
{
    x = 1;
} while (true);

Keeping the while on the same line as the ending brace is what most people seem to use.

@belav belav self-assigned this Jul 19, 2021
@belav belav added this to the 0.9.8 milestone Jul 19, 2021
belav added a commit that referenced this issue Jul 19, 2021
shocklateboy92 pushed a commit that referenced this issue Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants