Closed hsivonen closed 8 years ago
(Again MIT/Apache dual-licensed, so does not cause complications with issue #93.)
Oh, good observation. It is probably a takeover from good ol' days when there were String::reserve
(today's String::reserve_exact
) and String::reserve_additional
(today's String::reserve
).
The String::reserve() method takes the number of additional bytes not including the bytes that the string already holds.