Przeglądaj źródła

Fix wording about curly braces;

bjorn 4 lat temu
rodzic
commit
cfd7590324
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      guides/Contributing.md

+ 1 - 1
guides/Contributing.md

@@ -32,7 +32,7 @@ issues or Slack before submitting.  Try to stick to the existing coding style:
 - 100 character wrapping (ish, sometimes it's more readable to just have a long line).
 - Use descriptive, camelCased variable names when possible.
 - Put stars near types: `Texture* texture`.
-- Use curly braces for the bodies of conditionals and loops, and place them on their own line.  An
+- Use curly braces for the bodies of conditionals and loops, and place them on the same line.  An
   exception can be made for very short blocks -- they can be placed inline without curlies, e.g.
   `if (data == NULL) return;`.
 - Always use spaces around binary operators.