Skip to content

Commit 2f16cbc

Browse files
authored
[clang-tidy][NFC][doc] fix typos in docs. (#138305)
Fixed typos in docs of `clang-tidy` checks.
1 parent 1277837 commit 2f16cbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang-tools-extra/docs/clang-tidy/checks/boost/use-ranges.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Calls to the following std library algorithms are checked:
6464
``std::mismatch``,
6565
``std::next_permutation``,
6666
``std::none_of``,
67-
``std::parital_sum``,
67+
``std::partial_sum``,
6868
``std::partial_sort_copy``,
6969
``std::partition_copy``,
7070
``std::partition_point``,

clang-tools-extra/docs/clang-tidy/checks/bugprone/casting-through-void.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Note: it is expected that, after applying the suggested fix and using
2626
<../cppcoreguidelines/pro-type-reinterpret-cast>` will emit a warning.
2727
This is intentional: ``reinterpret_cast`` is a dangerous operation that can
2828
easily break the strict aliasing rules when dereferencing the casted pointer,
29-
invoking Undefined Behavior. The warning is there to prompt users to carefuly
29+
invoking Undefined Behavior. The warning is there to prompt users to carefully
3030
analyze whether the usage of ``reinterpret_cast`` is safe, in which case the
3131
warning may be suppressed.
3232

0 commit comments

Comments
 (0)