This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit b8f71ea
authored
Rollup merge of rust-lang#109814 - est31:stabilize_string_leak, r=Amanieu
Stabilize String::leak
Stabilizes the following API:
```Rust
impl String {
pub fn leak(self) -> &'static mut str;
}
```
closes rust-lang#102929
blocked by having an FCP for stabilization.1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1853 | 1853 | | |
1854 | 1854 | | |
1855 | 1855 | | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | 1861 | | |
1862 | | - | |
| 1862 | + | |
| 1863 | + | |
| 1864 | + | |
| 1865 | + | |
1863 | 1866 | | |
1864 | 1867 | | |
1865 | 1868 | | |
1866 | 1869 | | |
1867 | 1870 | | |
1868 | 1871 | | |
1869 | | - | |
1870 | | - | |
1871 | 1872 | | |
1872 | 1873 | | |
1873 | 1874 | | |
1874 | 1875 | | |
1875 | | - | |
| 1876 | + | |
1876 | 1877 | | |
1877 | 1878 | | |
1878 | 1879 | | |
| |||
0 commit comments