Commit 8cc437f
authored
Rollup merge of rust-lang#145209 - hanna-kruppe:path_add_extension, r=tgross35
Stabilize `path_add_extension`
FCP in tracking issue rust-lang#127292 finished in January. There was more discussion since then, but [libs-api decided to match `set_extension`][0] by keeping the return type as-is and adding a panic for invalid extensions. The latter was implemented in rust-lang#140163, so this feature should be ready for stabilization. But if anyone's unsure, another FCP could be done to confirm.
Closes rust-lang#127292
[0]: rust-lang#127292 (comment)2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
1578 | | - | |
1579 | | - | |
1580 | 1578 | | |
1581 | 1579 | | |
1582 | 1580 | | |
| |||
1596 | 1594 | | |
1597 | 1595 | | |
1598 | 1596 | | |
1599 | | - | |
| 1597 | + | |
1600 | 1598 | | |
1601 | 1599 | | |
1602 | 1600 | | |
| |||
2880 | 2878 | | |
2881 | 2879 | | |
2882 | 2880 | | |
2883 | | - | |
2884 | | - | |
2885 | 2881 | | |
2886 | 2882 | | |
2887 | 2883 | | |
| |||
2892 | 2888 | | |
2893 | 2889 | | |
2894 | 2890 | | |
2895 | | - | |
| 2891 | + | |
2896 | 2892 | | |
2897 | 2893 | | |
2898 | 2894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments