Commit 5837ac2
committed
Implement
Port rust-lang/rust PR's implementing `From<[T; N]>` for
`BinaryHeap<T>`:
- #84111: "Stabilize `impl From<[(K, V); N]> for HashMap` (and friends)"
- #88611: "Deprecate array::IntoIter::new."
NOTE: This requires Rust 1.56.0 or greater.From<[T; N]> for BinaryHeap<T>
1 parent 0e5ce1a commit 5837ac2
2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
1669 | 1688 | | |
1670 | 1689 | | |
1671 | 1690 | | |
| |||
0 commit comments