Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct Foo {
Prefer using a unit struct (e.g., `struct Foo;`) to an empty struct (e.g.,
`struct Foo();` or `struct Foo {}`, these only exist to simplify code
generation), but if you must use an empty struct, keep it on one line with no
space between the braces: `struct Foo;` or `struct Foo {}`.
space between the braces: `struct Foo();` or `struct Foo {}`.

The same guidelines are used for untagged union declarations.

Expand Down
Loading