Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 24d8e31

Browse files
authored
Minor typos fix
1 parent d07b67b commit 24d8e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CODING_STYLE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Use clang-format tool to format your changes, see [CONTRIBUTING](CONTRIBUTING.md
2828
- Copyright.
2929
- License.
3030
31-
2. Never use `#ifdef`/`#define`/`#endif` file guards. Prefer #pragma once as first line below file comment.
31+
2. Never use `#ifdef`/`#define`/`#endif` file guards. Prefer `#pragma` once as first line below file comment.
3232
3. Prefer static const variable to value macros.
3333
4. Prefer inline constexpr functions to function macros.
3434
@@ -134,7 +134,7 @@ Prefer exception to bool/int return type.
134134

135135
1. Collection conventions:
136136
- `...s` means `std::vector` e.g. `using MyTypes = std::vector<MyType>`
137-
- `-...Set` means `std::set` e.g. `using MyTypeSet = std::set<MyType>`
137+
- `...Set` means `std::set` e.g. `using MyTypeSet = std::set<MyType>`
138138
- `...Hash` means `std::unordered_set` e.g. `using MyTypeHash = std::unordered_set<MyType>`
139139
2. Class conventions:
140140
- `...Face` means the interface of some shared concept. (e.g. `FooFace` might be a pure virtual class.)

0 commit comments

Comments
 (0)