about summary refs log tree commit diff
path: root/library/alloc/src/boxed/thin.rs
AgeCommit message (Expand)AuthorLines
2025-07-16add `const_make_global`; err for `const_allocate` ptrs if didn't callDeadbeef-3/+4
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-14/+8
2024-09-25Use `&raw` in the standard libraryJosh Stone-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+3
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-3/+4
2024-04-05Do not allocate for ZST ThinBox attempt 2 (using const_allocate)Stepan Koltsov-13/+83
2024-02-24library: use `addr_of!`Pavel Grigorenko-1/+1
2024-02-11Rollup merge of #110483 - tleibert:thin-box-try-new, r=dtolnayMatthias Krüger-0/+64
2024-02-11Address ThinBox::try_new PR reviewDavid Tolnay-4/+3
2024-01-18Remove no-longer-needed `allow(dead_code)` from the standard libraryJake Goulding-1/+0
2024-01-02Adjust library tests for unused_tuple_struct_fields -> dead_codeJake Goulding-1/+1
2023-11-28Address unused tuple struct fields in the standard libraryJake Goulding-0/+1
2023-04-21More `IS_ZST` in `library`Scott McMurray-7/+3
2023-04-18Create try_new function for ThinBoxTrevor Leibert-0/+65
2023-01-20ThinBox: Add intra-doc-links for Metadataest31-2/+6
2023-01-01Deallocate ThinBox even if the value unwinds on dropLegionMammal978-13/+34
2022-09-26remove cfg(bootstrap)Pietro Albini-2/+0
2022-08-22Move error trait into coreJane Losare-Lusby-0/+10
2022-07-01Rollup merge of #98585 - cuviper:covariant-thinbox, r=thomccDylan DPC-6/+27
2022-06-29alloc: fix `no_global_oom_handling` warningsMiguel Ojeda-1/+3
2022-06-27Implement `Send` and `Sync` for `ThinBox<T>`Josh Stone-0/+8
2022-06-27Make `ThinBox<T>` covariant in `T`Josh Stone-6/+27
2022-05-27Use `pointer::is_aligned` in ThinBox debug assertThom Chiovoloni-1/+1
2022-05-27Avoid zero-sized allocs in ThinBox if T and H are both ZSTs.Thom Chiovoloni-19/+46
2022-04-08Add ThinBox type for 1 stack pointer sized heap allocated trait objectsJane Lusby-0/+215