[clang-tidy][NFC][doc] fix typos in docs. (#138305)

Fixed typos in docs of `clang-tidy` checks.
This commit is contained in:
Baranov Victor
2025-05-02 21:41:43 +03:00
committed by GitHub
parent 1277837488
commit 2f16cbc700
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ Calls to the following std library algorithms are checked:
``std::mismatch``,
``std::next_permutation``,
``std::none_of``,
``std::parital_sum``,
``std::partial_sum``,
``std::partial_sort_copy``,
``std::partition_copy``,
``std::partition_point``,

View File

@@ -26,7 +26,7 @@ Note: it is expected that, after applying the suggested fix and using
<../cppcoreguidelines/pro-type-reinterpret-cast>` will emit a warning.
This is intentional: ``reinterpret_cast`` is a dangerous operation that can
easily break the strict aliasing rules when dereferencing the casted pointer,
invoking Undefined Behavior. The warning is there to prompt users to carefuly
invoking Undefined Behavior. The warning is there to prompt users to carefully
analyze whether the usage of ``reinterpret_cast`` is safe, in which case the
warning may be suppressed.