fix c error in style guide
This commit is contained in:
@@ -110,7 +110,7 @@ typedef struct {
|
|||||||
str_t s = {
|
str_t s = {
|
||||||
.a = 1,
|
.a = 1,
|
||||||
.b = 2, // Comma here
|
.b = 2, // Comma here
|
||||||
}
|
};
|
||||||
|
|
||||||
// No trailing commas - only for small and simple structures
|
// No trailing commas - only for small and simple structures
|
||||||
static const str_t y = {.a = 1, .b = 2};
|
static const str_t y = {.a = 1, .b = 2};
|
||||||
|
|||||||
Reference in New Issue
Block a user