Skip to content

Commit 837e895

Browse files
bryanageeweaverryan
authored andcommitted
Changes operator spacing language
1 parent 835d5eb commit 837e895

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contributing/code/standards.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ Structure
9595

9696
* Add a single space after each comma delimiter;
9797

98-
* Add a single space around operators (``==``, ``&&``, ...), with the
99-
exception of the not (``!``) operator;
98+
* Add a single space around binary operators (``==``, ``&&``, ...), with
99+
the exception of the concatenation (``,``) operator;
100100

101-
* Place the not operator adjacent to the variable that it affects;
101+
* Place unary operators (``!``, ``--``, ...) adjacent to the affected variable;
102102

103103
* Add a comma after each array item in a multi-line array, even after the
104104
last one;

0 commit comments

Comments
 (0)