Skip to content

Commit c5ed3c6

Browse files
authored
[clang-tidy] Minor documentation wording for performance-noexcept-move-constructor (#157384)
Fix #157343.
1 parent db2fc84 commit c5ed3c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/docs/clang-tidy/checks/performance/noexcept-move-constructor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ marked with ``noexcept`` or marked with ``noexcept(expr)`` where ``expr``
99
evaluates to ``false`` (but is not a ``false`` literal itself).
1010

1111
Move constructors of all the types used with STL containers, for example,
12-
need to be declared ``noexcept``. Otherwise STL will choose copy constructors
12+
should be declared ``noexcept``. Otherwise STL may choose copy constructors
1313
instead. The same is valid for move assignment operations.

0 commit comments

Comments
 (0)