I noticed two invalid documentations. 1. "Foreach over Structs and Classes with Ranges" section in statement.html I think "Foreach Range Properties" table is old. Current properties are below. .next -> .popFront .retreat -> .popBack .head -> .front .toe -> .back 2. "Const and Invariant Structs" in struct.html Invariant -> Immutable
Well the table is correct atm but the code examples are still outdated. http://digitalmars.com/d/2.0/statement.html#foreach_with_ranges
*** Issue 4649 has been marked as a duplicate of this issue. ***
Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/baa8b09e9f34d25d5412f029e94074bc972213af fix Issue 3800 - 'Foreach over Structs and Classes with Ranges' and 'Invariant Struct' in D2 Spec
resynced