Vec in std::vec rather than std::collections?

Is there any reason that Vec is located in std::vec rather than std::collections, where all other collections are located? Is this simply for backwards compatibility or is it a design choice?

It might be due to the fact that Vec is a very basic “collection”, usually just called a dynamically sized array.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.