This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 831c929
committed
Auto merge of rust-lang#103406 - Jules-Bertholet:from_clone_slice_to_box, r=dtolnay
Loosen `From<&[T]> for Box<[T]>` bound to `T: Clone`
Also loosens `From<Cow<'_, [T]>> for Box<[T]>`'s bound.
[Discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/From.3C.26.5BT.5D.3E.20impls.20consistency)1 file changed
+31
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1455 | 1455 | | |
1456 | 1456 | | |
1457 | 1457 | | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1458 | 1485 | | |
1459 | 1486 | | |
1460 | | - | |
| 1487 | + | |
1461 | 1488 | | |
1462 | 1489 | | |
1463 | 1490 | | |
| |||
1471 | 1498 | | |
1472 | 1499 | | |
1473 | 1500 | | |
| 1501 | + | |
1474 | 1502 | | |
1475 | | - | |
1476 | | - | |
1477 | | - | |
1478 | | - | |
1479 | | - | |
1480 | | - | |
| 1503 | + | |
1481 | 1504 | | |
1482 | 1505 | | |
1483 | 1506 | | |
1484 | 1507 | | |
1485 | 1508 | | |
1486 | | - | |
| 1509 | + | |
1487 | 1510 | | |
1488 | 1511 | | |
1489 | 1512 | | |
| |||
0 commit comments