We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ef8d6 commit 74ac3ecCopy full SHA for 74ac3ec
src/doc/style-guide/src/items.md
@@ -123,7 +123,7 @@ struct Foo {
123
Prefer using a unit struct (e.g., `struct Foo;`) to an empty struct (e.g.,
124
`struct Foo();` or `struct Foo {}`, these only exist to simplify code
125
generation), but if you must use an empty struct, keep it on one line with no
126
-space between the braces: `struct Foo;` or `struct Foo {}`.
+space between the braces: `struct Foo();` or `struct Foo {}`.
127
128
The same guidelines are used for untagged union declarations.
129
0 commit comments