Albert Y <76888457+filterpaper@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date
Message
[Docs] Code markdown amendment (#21323)
Diff
1diff --git a/docs/coding_conventions_c.md b/docs/coding_conventions_c.md
2index 3f44da713d48a16d23f9ac8f0d205d999d0fce46..32f6de7ff75ff02de9fdf5d51d9b2c5afe8aa971 100644
3--- a/docs/coding_conventions_c.md
4+++ b/docs/coding_conventions_c.md
5@@ -8,8 +8,8 @@ Most of our style is pretty easy to pick up on, but right now it's not entirely
6 * Closing Brace: Lined up with the first character of the statement that opens the block
7 * Else If: Place the closing brace at the beginning of the line and the next opening brace at the end of the same line.
8 * Optional Braces: Always include optional braces.
9- * Good: if (condition) { return false; }
10- * Bad: if (condition) return false;
11+ * Good: `if (condition) { return false; }`
12+ * Bad: `if (condition) return false;`
13 * We encourage use of C style comments: `/* */`
14 * Think of them as a story describing the feature
15 * Use them liberally to explain why particular decisions were made.