Commit 4a26f3b
authored
Rollup merge of rust-lang#130090 - RalfJung:result-copied, r=Noratrieb
make Result::copied unstably const
The corresponding `Option::copied` is unstably const, so seems reasonable to do the same here.2 files changed
+18
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
1896 | | - | |
| 1896 | + | |
1897 | 1897 | | |
1898 | 1898 | | |
1899 | 1899 | | |
| |||
1941 | 1941 | | |
1942 | 1942 | | |
1943 | 1943 | | |
1944 | | - | |
| 1944 | + | |
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
1538 | | - | |
| 1538 | + | |
| 1539 | + | |
1539 | 1540 | | |
1540 | 1541 | | |
1541 | 1542 | | |
1542 | | - | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1543 | 1549 | | |
1544 | 1550 | | |
1545 | 1551 | | |
| |||
1579 | 1585 | | |
1580 | 1586 | | |
1581 | 1587 | | |
1582 | | - | |
| 1588 | + | |
| 1589 | + | |
1583 | 1590 | | |
1584 | 1591 | | |
1585 | 1592 | | |
1586 | | - | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
1587 | 1599 | | |
1588 | 1600 | | |
1589 | 1601 | | |
| |||
0 commit comments