doc: update the HACKING document with a rule for casts

Fixes #1032
This commit is contained in:
Fabian Greffrath 2018-05-06 13:44:01 +02:00
parent 9a8f5dc9d9
commit 80ed045444

View file

@ -38,6 +38,9 @@ Variables should be named like this: `my_variable_name`, not like this:
`MyVariableName`. In pointer variable declarations, place the `*` next
to the variable name, not the type.
When casting variables from one type to another, put a space after the
last closing brace.
When using an if, do, while, or for statement, always use the { } braces
even when they are not necessary. For example, do this: