Commit cd1713e
committed
BTreeSet: remove duplicated code by reusing
The method `BTreeSet::from_sorted_iter` was introduced in 49ccb75,
but it was not consistently used throughout the codebase. As a result, some code redundantly reimplemented its logic.
This commit fixes the problem.from_sorted_iter
1 parent 13c46fd commit cd1713e
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
| 1520 | + | |
1523 | 1521 | | |
1524 | 1522 | | |
1525 | 1523 | | |
| |||
0 commit comments