Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f903ad8

Browse filesBrowse files
RaisinTentargos
authored andcommitted
doc: add missing semis after classes
Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: #38931 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 0bdeeda commit f903ad8
Copy full SHA for f903ad8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/guides/cpp-style-guide.md‎

Copy file name to clipboardExpand all lines: doc/guides/cpp-style-guide.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ For plain C-like structs snake_case can be used.
179179
```cpp
180180
struct foo_bar {
181181
int name;
182-
}
182+
};
183183
```
184184
185185
### Space after `template`
@@ -188,7 +188,7 @@ struct foo_bar {
188188
template <typename T>
189189
class FancyContainer {
190190
...
191-
}
191+
};
192192
```
193193

194194
## Memory management

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.