Commit 03326da
authored
Rollup merge of rust-lang#136775 - robertbastian:patch-2, r=Amanieu
Update `String::from_raw_parts` safety requirements
These have become out of sync with `Vec::from_raw_part`'s safety requirements, and are likely to diverge again. I think it's safest to just point at `Vec`'s requirements.
rust-lang#119206 (comment)1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | | - | |
973 | | - | |
| 969 | + | |
| 970 | + | |
974 | 971 | | |
975 | 972 | | |
976 | 973 | | |
| |||
0 commit comments