Skip to content

Commit b5ca2a8

Browse files
authored
fix font on both in type spec text (#3675)
"both" is not being used as a keyword or code here.
1 parent ac82841 commit b5ca2a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/type.dd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Derived db = cast(Derived)new Base(); // explicit conversion
267267

268268
$(P A dynamic array, say `x`, of a derived class can be implicitly converted
269269
to a dynamic array, say `y`, of a base class iff elements of `x` and `y` are
270-
qualified as being either both `const` or `both` `immutable`.)
270+
qualified as being either both `const` or both `immutable`.)
271271

272272
$(SPEC_RUNNABLE_EXAMPLE_RUN
273273
-------------------
@@ -280,7 +280,7 @@ immutable(Base)[] ia = (immutable(Derived)[]).init; // `immutable` elements
280280

281281
$(P A static array, say `x`, of a derived class can be implicitly converted
282282
to a static array, say `y`, of a base class iff elements of `x` and `y` are
283-
qualified as being either both `const` or `both` `immutable` or both mutable
283+
qualified as being either both `const` or both `immutable` or both mutable
284284
(neither `const` nor `immutable`).)
285285

286286
$(SPEC_RUNNABLE_EXAMPLE_RUN

0 commit comments

Comments
 (0)