Skip to content

Commit 42927a9

Browse files
andralexWalterBright
authored andcommitted
use $(ROOT_DIR)
1 parent 7716f79 commit 42927a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/class.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ $(GNAME Constructor):
425425
$(OL
426426
$(LI Storage is allocated for the object.
427427
If this fails, rather than return $(D null), an
428-
$(LINK2 ../library/core/exception/out_of_memory_error.html, OutOfMemoryError) is thrown.
428+
$(LINK2 $(ROOT_DIR)library/core/exception/out_of_memory_error.html, OutOfMemoryError) is thrown.
429429
Thus, tedious checks for null references are unnecessary.
430430
)
431431

@@ -541,7 +541,7 @@ $(H2 $(LNAME2 field-init, Field initialization inside constructor))
541541
struct A
542542
{
543543
this(int n) {}
544-
void $(CODE_HIGHTLIGHT opAssign)(A rhs) {}
544+
void $(CODE_HIGHLIGHT opAssign)(A rhs) {}
545545
}
546546
class C
547547
{

0 commit comments

Comments
 (0)