Skip to content

Commit ce1f841

Browse files
committed
bits and pieces
1 parent a078fab commit ce1f841

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/function.dd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ void foo()
22332233
$(LI Non-portable casts (eg, from $(D int[]) to $(D float[])), including
22342234
casts which depend on endianness, are not permitted.
22352235
Casts between signed and unsigned types are permitted)
2236-
$(LI Reinterpretation of overlapped fields in a Union.)
2236+
$(LI Reinterpretation of overlapped fields in a Union is not permitted.)
22372237
)
22382238

22392239
$(P Pointers are permitted in CTFE, provided they are used safely:)
@@ -2355,11 +2355,11 @@ int foo(char[] s)
23552355
const int x = foo("1");
23562356
---
23572357

2358-
$(P is illegal, because the runtime code for foo() cannot be
2358+
$(P is illegal, because the runtime code for `foo` cannot be
23592359
generated. A function template would be the appropriate
23602360
method to implement this sort of thing.)
23612361

2362-
$(H3 $(LNAME2 nogc-functions, No-GC Functions))
2362+
$(H2 $(LNAME2 nogc-functions, No-GC Functions))
23632363

23642364
$(P No-GC functions are functions marked with the $(D @nogc) attribute.
23652365
Those functions do not allocate memory on the GC heap,

0 commit comments

Comments
 (0)