Open
Description
Franciszek Czekala reported this on 2023-06-05T05:24:20Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=23967
Description
It says: .capacity Returns the number of elements that can be appended to the array without reallocating.
This is wrong as the number of elements that can be appended without reallocating is a.capacity - a.length (as described in 12.14.2).