You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ You are all set if you have enabled `Editor: Detect Indentation` in VS Code.
28
28
29
29
#### Blocks
30
30
31
-
Whether the opening bracket of e.g. an `if` block is in the same line as the condition or in a separate line is up to your discretion. If there is only one statement, leaving out block braches is acceptable.
31
+
Whether the opening bracket of e.g. an `if` block is in the same line as the condition or in a separate line is up to your discretion. If there is only one statement, leaving out block brackets is acceptable.
32
32
33
33
Good:
34
34
```cpp
@@ -49,7 +49,7 @@ if (a == b) doStuff(a);
49
49
```
50
50
51
51
There should always be a space between a keyword and its condition and between the condition and brace.
52
-
Within the condition, no space should be between the paranthesis and variables.
52
+
Within the condition, no space should be between the parenthesis and variables.
53
53
Spaces between variables and operators are up to the authors discretion.
54
54
There should be no space between function names and their argument parenthesis.
0 commit comments