On 11-03-22 03:59 PM, Brendan Eich wrote:
Style police raid!

In the patch readable at the pull request linked below, you can see existing 
code cuddling braces on both sides of else:

   } else {

and (in numerous + lines)

   }
   else {

I'm in favor of any style guide covering this case. The JS C++ style guide 
does. Anyone care?

We will soon (sometime after bootstrapping) be moving the entire project to regular self-pretty-printing to eliminate any such whitespace inconsistencies.

For the time being I tend to use } else {.

-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to