Skip to content

Commit 3c7df98

Browse files
authored
[clang-tidy] Add missing colon in the docs of performance-enum-size (#144525)
There is a syntax error in the provided code example - this PR fixes it. I did a quick search - I could not find similar _typos_.
1 parent 8d1610a commit 3c7df98

File tree

1 file changed

+1
-1
lines changed
  • clang-tools-extra/docs/clang-tidy/checks/performance

1 file changed

+1
-1
lines changed

clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependent).
3434
.. code-block:: c++
3535

3636
// AFTER
37-
enum Color : std:int8_t {
37+
enum Color : std::int8_t {
3838
RED = -1,
3939
GREEN = 0,
4040
BLUE = 1

0 commit comments

Comments
 (0)