Files
rust/library/alloc/src/vec
bors 783062d3c6 Auto merge of #154095 - joboet:vec_clear_truncate, r=nnethercote
std: implement `clear` via `truncate`

This gets rid of some `unsafe`. `truncate(0)` is even documented to be equivalent to `clear`, this makes that equivalence even more obvious.
2026-05-04 06:16:32 +00:00
..
2026-02-25 22:51:53 +08:00
2026-03-30 13:01:46 +03:00
2026-04-20 16:00:18 +00:00
2026-02-25 22:51:53 +08:00