Closed light4 closed 1 year ago
Such a coincidence, I am creating PR #581 .
Thanks for the PR! However, I don't think having this sugar in the library is what we want. There is the existing FromIterator implementation that helps with this.
This PR makes it more consistent with rust std. Maybe take another look at https://github.com/rust-lang/rust/pull/84111
Act like std::collections::HashMap from std from 1.56.0