Skip to content

Commit b579ac4

Browse files
fourst4rdlang-bot
authored andcommitted
typo: crt_destructor->crt_constructor
1 parent b60e972 commit b579ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/pragma.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ $(H3 $(LNAME2 crtctor, $(D pragma crt_constructor)))
152152

153153
$(H3 $(LNAME2 crtdtor, $(D pragma crt_destructor)))
154154

155-
$(P `pragma(crt_destructor)` works the same as `pragma(crt_destructor)` except:)
155+
$(P `pragma(crt_destructor)` works the same as `pragma(crt_constructor)` except:)
156156

157157
$(P Annotates a function so it is run after the D runtime library is terminated
158158
and before the C runtime library is terminated.

0 commit comments

Comments
 (0)