Skip to content

Commit eed6de6

Browse files
authored
Remove mention of attributes in destructor definition (dlang#22783)
Destructors can have attributes
1 parent 3f212a3 commit eed6de6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/class.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ $(GNAME Destructor):
856856

857857
* Only one destructor can be declared per class, although
858858
other destructors $(DDSUBLINK spec/template-mixin, destructors, can be mixed in).
859-
* A destructor does not have any parameters or attributes.
859+
* A destructor does not have any parameters.
860860
* A destructor is always virtual.
861861

862862
$(P The destructor is expected to release any non-GC resources held by the

0 commit comments

Comments
 (0)