Under 12.13 - 2 (Dynamic Array Properties ) the .capacity property is not listed, even though it is mentioned in 12.13.1 - 5 (Setting Dynamic Array Length) See: https://dlang.org/spec/arrays.html#array-length
I just ran across this and was about to report it, but found this existing report. Disappointing to see that something as simple to fix as this has not been taken care of almost exactly a year later.
PR: https://github.com/dlang/dlang.org/pull/3356
@RazvanN7 updated dlang/dlang.org pull request #3356 "Fix Issue 22141 - Property .capacity is not listed in the array prope…" fixing this issue: - Fix Issue 22141 - Property .capacity is not listed in the array properties https://github.com/dlang/dlang.org/pull/3356
dlang/dlang.org pull request #3356 "Fix Issue 22141 - Property .capacity is not listed in the array prope…" was merged into master: - 4ab0ac795fb65a083e4de9f8b7b38c4385f20920 by RazvanN7: Fix Issue 22141 - Property .capacity is not listed in the array properties https://github.com/dlang/dlang.org/pull/3356