Files
rust/library/alloc/src
bors 3014e79f9c Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin
`std::vec`: Add UB check for `set_len`, `from_raw_parts_in`, and etc.

Closes rust-lang/rust#143813

I noticed that `from_parts_in` do the similar things like `from_raw_parts_in`, so I add the UB check in the last commit. If it is not appropriate, I will remove it.

And I fix a typo in the first commit.

r? `@scottmcm`
2025-07-15 14:47:10 +00:00
..
2025-07-03 20:03:49 +00:00
2025-04-12 22:26:38 +08:00
2025-04-28 06:56:13 +10:00
2025-06-06 06:39:51 +02:00
2025-06-06 06:39:51 +02:00
2024-12-05 14:14:17 -08:00