Files
rust/library/alloc/src
Matthias Krüger 7219bd22ed Rollup merge of #120110 - invpt:patch-1, r=the8472
Update documentation for Vec::into_boxed_slice to be more clear about excess capacity

Currently, the documentation for Vec::into_boxed_slice says that "if the vector has excess capacity, its items will be moved into a newly-allocated buffer with exactly the right capacity." This is misleading, as copies do not necessarily occur, depending on if the allocator supports in-place shrinking. I copied some of the wording from shrink_to_fit, though it could potentially still be worded better than this.
2024-01-19 08:15:05 +01:00
..
2023-12-14 19:08:36 -05:00
2023-12-11 23:38:48 +01:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-11-28 09:02:34 +08:00
2023-10-05 18:21:47 -04:00
2024-01-07 03:44:04 +01:00
2023-12-30 16:28:00 +09:00
2023-08-15 14:26:14 -05:00
…
2023-12-10 10:56:22 +08:00