I would like to understand the design decision to remove the public method reduceToSize from ArrayBuffer in 2.13.x. In Scala 2.12.x ArrayBuffer had a public method reduceToSize that was implemented in ResizableArray. In Scala 2.13.x ResizebleArray is removed and ArrayBuffer now instead has a private def reduceToSize. To me there is no good public replacement for reduceToSize in Scala 2.13.x and this is also reinforced by the existence of the private helper method.
This change is not mentioned in
https://docs.scala-lang.org/overviews/core/collections-migration-213.html
or
and I can not find and discussion in the mailing lists.
So this makes me wonder if the change is an oversight or if there is some good reason for it?