mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 01:07:56 +00:00
The method `BTreeSet::from_sorted_iter` was introduced in 49ccb7519f55bd117d2ab50b7a030637f380aec6, but it was not consistently used throughout the codebase. As a result, some code redundantly reimplemented its logic. This commit fixes the problem.