Skip to content

Commit 7707e55

Browse files
committed
Fix text for in CODESTYLE.md
The text for the example of spacing in function definitions, declarations, and calls, still showed the previous style even though the example was updated. The description now matches the example.
1 parent b4b0e09 commit 7707e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CODESTYLE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Useful terms to understand while reading.
1212
# C++
1313
### General rules
1414
* 4 Space indentation. Spaces, no tabs.
15-
* Function declaration and definition has a space between the name and open parentheses.
16-
* Example: `void Robot::RobotInit();` or
15+
* Both the function declaration and definition do not have a space between the name and open parentheses.
16+
* Example: `void Robot::RobotInit();` and
1717
```cpp
1818
void Robot::RobotInit() {
1919
cout << "Hello World!" << endl;

0 commit comments

Comments
 (0)