Skip to content

Commit b52eb5d

Browse files
committed
[spec/expression.dd] Improve IsExpression docs
Add Basic, Identifier and Parameter List form subheadings instead of an ordered list. Better for navigation and grouping relevant things together. Also use H5 for each is expression kind for anchors. Move is(Bar == int) example above `== keyword` forms. Add some missing docs for `== __vector`. Add example for is(Type == keyword) and link to spec/traits. Fix: is declaring an identifier also works in StaticAssert. Make is(Type Identifier) example runnable. Split is ( Type Identifier : TypeSpecialization ) example in two. Move is(Bar T == int) example above `== keyword` forms. Explain `Identifier == keyword` form *result* for super, return, __parameters. Split Parameter List form example into 3 and add titles. Define `struct Tuple(T...)` instead of importing std.tuple for clarity. Use 2 static asserts instead of `assert(0)`. css: Add missing h5 style, fixes text size too small.
1 parent 7d865f4 commit b52eb5d

File tree

2 files changed

+148
-87
lines changed

2 files changed

+148
-87
lines changed

css/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,11 @@ h4
894894
{
895895
font-size: 1.15em;
896896
}
897+
898+
h5
899+
{
900+
font-size: 1em;
901+
}
897902
/*This is to support the "Programming in D" book*/
898903
h6 {
899904
font-size: 1em;

0 commit comments

Comments
 (0)