Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/arrays.dd
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ s[1..3] = s[0..2]; // error, overlapping copy
$(REF copy, std,algorithm,mutation):
)

$(SPEC_RUNNABLE_EXAMPLE_RUN
$(SPEC_RUNNABLE_EXAMPLE_COMPILE
---------
import std.algorithm;
int[] s = [1, 2, 3, 4];
Expand Down
2 changes: 1 addition & 1 deletion spec/struct.dd
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ $(H2 $(LEGACY_LNAME2 StructLiteral, struct-literal, Struct Literals))
$(P Struct literals consist of the name of the struct followed
by a parenthesized argument list:)

$(SPEC_RUNNABLE_EXAMPLE_RUN
$(SPEC_RUNNABLE_EXAMPLE_COMPILE
---
struct S { int x; float y; }

Expand Down