Skip to content

Commit 2287863

Browse files
pbackusdlang-bot
authored andcommitted
Fix links in "Enum Copying and Assignment"
DDoc only allows a single whitespace character between macro arguments, so the combination of newline and indentation caused unintended whitespace to be emitted into the HTML output.
1 parent b263c68 commit 2287863

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/enum.dd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ X.sizeof // is same as int.sizeof
203203

204204
$(H3 $(LNAME2 enum_copying_and_assignment, Enum Copying and Assignment))
205205

206-
$(P A named enum type never has a $(DDSUBLINK spec/struct,
207-
struct-copy-constructor, copy constructor), $(DDSUBLINK spec/struct,
208-
struct-postblit, postblit), or $(DDSUBLINK spec/struct,
209-
assign-overload, identity assignment overload), even if one is defined
210-
by its $(GLINK EnumBaseType).)
206+
$(P A named enum type never has a
207+
$(DDSUBLINK spec/struct, struct-copy-constructor, copy constructor),
208+
$(DDSUBLINK spec/struct, struct-postblit, postblit), or
209+
$(DDSUBLINK spec/struct, assign-overload, identity assignment overload),
210+
even if one is defined by its $(GLINK EnumBaseType).)
211211

212212
$(P When copying a named enum value whose base type is a `struct` with
213213
a copy constructor, the copy constructor is not called:)

0 commit comments

Comments
 (0)