Skip to content

Commit 9154a32

Browse files
committed
[clang-format][doc] Fix typos
1 parent a415b4d commit 9154a32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -935,8 +935,8 @@ the configuration (without a prefix: ``Auto``).
935935
default: return "";
936936
}
937937
938-
* ``bool AlignCaseColons`` Whether aligned case labels are aligned on the colon, or on the
939-
, or on the tokens after the colon.
938+
* ``bool AlignCaseColons`` Whether aligned case labels are aligned on the colon, or on the tokens
939+
after the colon.
940940

941941
.. code-block:: c++
942942

clang/include/clang/Format/Format.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ struct FormatStyle {
375375
/// }
376376
/// \endcode
377377
bool AcrossComments;
378-
/// Whether aligned case labels are aligned on the colon, or on the
379-
/// , or on the tokens after the colon.
378+
/// Whether aligned case labels are aligned on the colon, or on the tokens
379+
/// after the colon.
380380
/// \code
381381
/// true:
382382
/// switch (level) {

0 commit comments

Comments
 (0)