commit 80ed045444ad3d53edd44eefd75e80d263ae0387
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Sun May 6 13:44:01 2018 +0200
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Sun May 6 13:44:01 2018 +0200
doc: update the HACKING document with a rule for casts
Fixes #1032
---
HACKING.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/HACKING.md b/HACKING.md
index b1d253cb..631d4464 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -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: