Skip to content

Commit b442408

Browse files
committed
Fix cast subheading levels
1 parent c5f95bc commit b442408

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/expression.dd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ $(GNAME CastExpression):
10291029
(foo) - p; // subtract p from foo
10301030
-------------
10311031

1032-
$(H3 $(LNAME2 cast_class, Class References))
1032+
$(H4 $(LNAME2 cast_class, Class References))
10331033

10341034
$(P Any casting of a class reference to a
10351035
derived class reference is done with a runtime check to make sure it
@@ -1073,7 +1073,7 @@ $(H3 $(LNAME2 cast_class, Class References))
10731073
(i.e. a reinterpret cast).
10741074
)
10751075

1076-
$(H3 $(LNAME2 cast_array, Arrays))
1076+
$(H4 $(LNAME2 cast_array, Arrays))
10771077

10781078
$(P Casting a dynamic array to another dynamic array is done only if the
10791079
array lengths multiplied by the element sizes match. The cast is done
@@ -1095,7 +1095,7 @@ $(H3 $(LNAME2 cast_array, Arrays))
10951095

10961096
$(DDOC_SEE_ALSO $(RELATIVE_LINK2 cast_array_literal, Casting array literals).)
10971097

1098-
$(H3 $(LNAME2 cast_static_array, Static Arrays))
1098+
$(H4 $(LNAME2 cast_static_array, Static Arrays))
10991099

11001100
$(P Casting a static array to another static array is done only if the
11011101
array lengths multiplied by the element sizes match; a mismatch
@@ -1120,7 +1120,7 @@ $(H3 $(LNAME2 cast_static_array, Static Arrays))
11201120
---
11211121
)
11221122

1123-
$(H3 $(LNAME2 cast_floating, Floating Point))
1123+
$(H4 $(LNAME2 cast_floating, Floating Point))
11241124

11251125
$(P Casting a floating point literal from one type to another
11261126
changes its type, but internally it is retained at full
@@ -1172,7 +1172,7 @@ $(H3 $(LNAME2 cast_floating, Floating Point))
11721172
}
11731173
---
11741174

1175-
$(H3 $(LNAME2 cast_struct, Struct))
1175+
$(H4 $(LNAME2 cast_struct, Structs))
11761176

11771177
$(P Casting a value $(I v) to a struct $(I S), when value is not a struct
11781178
of the same type, is equivalent to:)
@@ -1181,7 +1181,7 @@ $(H3 $(LNAME2 cast_struct, Struct))
11811181
S(v)
11821182
---
11831183

1184-
$(H3 $(LNAME2 cast_qualifier, Qualifier Cast))
1184+
$(H4 $(LNAME2 cast_qualifier, Qualifier Cast))
11851185

11861186
$(GRAMMAR
11871187
$(GNAME CastQual):
@@ -1210,7 +1210,7 @@ $(GNAME CastQual):
12101210
---
12111211
)
12121212

1213-
$(H3 $(LNAME2 cast_void, Casting to `void`))
1213+
$(H4 $(LNAME2 cast_void, Casting to `void`))
12141214

12151215
$(P Casting an expression to $(D void) type is allowed to mark that
12161216
the result is unused. On $(GLINK2 statement, ExpressionStatement),

0 commit comments

Comments
 (0)