shithub: choc

Download patch

ref: 80ed045444ad3d53edd44eefd75e80d263ae0387
parent: 9a8f5dc9d9e9ec83e49b53daf208ea39b01fdab4
author: Fabian Greffrath <fabian@greffrath.com>
date: Sun May 6 09:44:01 EDT 2018

doc: update the HACKING document with a rule for casts

Fixes #1032

--- a/HACKING.md
+++ b/HACKING.md
@@ -38,6 +38,9 @@
 `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: