Skip to content

Commit d6a2917

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

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
@@ -9273,9 +9273,7 @@
92739273
The \grammarterm{string-literal}
92749274
in a \tcode{nodiscard} \grammarterm{attribute-argument-clause}
92759275
is intended to be used in the message of the warning
9276-
as the rationale for why the entity must not be discarded
9277-
or to suggest alternative entities
9278-
that may demonstrate the intent or proper usage.
9276+
as the rationale for why the result should not be discarded.
92799277
\end{note}
92809278

92819279
\pnum

0 commit comments

Comments
 (0)