Skip to content

Commit

Permalink
[Docs] Code markdown amendment (qmk#21323)
Browse files Browse the repository at this point in the history
  • Loading branch information
filterpaper authored and zaih committed Aug 31, 2023
1 parent 094e949 commit 3171e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/coding_conventions_c.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Most of our style is pretty easy to pick up on, but right now it's not entirely
* Closing Brace: Lined up with the first character of the statement that opens the block
* Else If: Place the closing brace at the beginning of the line and the next opening brace at the end of the same line.
* Optional Braces: Always include optional braces.
* Good: if (condition) { return false; }
* Bad: if (condition) return false;
* Good: `if (condition) { return false; }`
* Bad: `if (condition) return false;`
* We encourage use of C style comments: `/* */`
* Think of them as a story describing the feature
* Use them liberally to explain why particular decisions were made.
Expand Down

0 comments on commit 3171e0c

Please sign in to comment.