Skip to content

Commit 5e3c4ce

Browse files
committed
[dcl.attr.nodiscard] Simplify note describing the string-literal in a
nodiscard attribute and make it less confusing.
1 parent 0ddcc1c commit 5e3c4ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/declarations.tex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9245,9 +9245,7 @@
92459245
The \grammarterm{string-literal}
92469246
in a \tcode{nodiscard} \grammarterm{attribute-argument-clause}
92479247
is intended to be used in the message of the warning
9248-
as the rationale for why the entity must not be discarded
9249-
or to suggest alternative entities
9250-
that may demonstrate the intent or proper usage.
9248+
as the rationale for why the result should not be discarded.
92519249
\end{note}
92529250

92539251
\pnum

0 commit comments

Comments
 (0)