Browse Source

[Docs] Fix incorrect spacing on Coding Conventions page (#7058)

pull/7084/head
Drashna Jaelre 4 years ago
committed by GitHub
parent
commit
22cc56bc97
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      docs/coding_conventions_c.md

+ 7
- 7
docs/coding_conventions_c.md View File

@ -31,17 +31,17 @@ Here is an example for easy reference:
```c
/* Enums for foo */
enum foo_state {
FOO_BAR,
FOO_BAZ,
FOO_BAR,
FOO_BAZ,
};
/* Returns a value */
int foo(void) {
if (some_condition) {
return FOO_BAR;
} else {
return -1;
}
if (some_condition) {
return FOO_BAR;
} else {
return -1;
}
}
```


Loading…
Cancel
Save