Update CONTRIBUTING.md
`type *var;` is better than `type* var;` due to the case of `type* var1, var2;` where `var1` is `type*` but `var2` is `type`, thus causing confusion.
This commit is contained in:
parent
bdeadb4ca2
commit
3a516e2bdd
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ namespace Example {
|
||||||
|
|
||||||
// Declare globals at the top
|
// Declare globals at the top
|
||||||
int g_foo = 0;
|
int g_foo = 0;
|
||||||
char* g_some_pointer; // Notice the position of the *
|
char *g_some_pointer; // Notice the position of the *
|
||||||
|
|
||||||
enum SomeEnum {
|
enum SomeEnum {
|
||||||
COLOR_RED,
|
COLOR_RED,
|
||||||
|
|
Loading…
Reference in a new issue