Skip to content

Commit 30bda33

Browse files
committed
Fix missing attribute for NoDiscard
1 parent 2893034 commit 30bda33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

language/predefined/attributes/nodiscard.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
<classsynopsis class="class">
4040
<ooclass>
41+
<modifier role="attribute">#[\Attribute]</modifier>
4142
<modifier>final</modifier>
4243
<classname>NoDiscard</classname>
4344
</ooclass>

0 commit comments

Comments
 (0)