diff options
| author | Oleksandr Babak <alexanderbabak@proton.me> | 2026-01-08 13:43:16 +0100 |
|---|---|---|
| committer | Benno Lossin <lossin@kernel.org> | 2026-01-17 10:53:28 +0100 |
| commit | aeb5ecad5316f6af160993915163367290825b6b (patch) | |
| tree | 4e03f4eaf434c414bd7adc1c8ee752f703b00a06 /scripts | |
| parent | da9cfc4fcf535db9fb29cc05f41e28ef1e152fc1 (diff) | |
rust: pin-init: Implement `InPlaceWrite<T>` for `&'static mut MaybeUninit<T>`
This feature allows users to use `&'static mut MaybeUninit<T>` as a
place to initialize the value. It mirrors an existing implemetation
for `Box<MaybeUninit>`, but enables users to use external allocation
mechanisms such as `static_cell` [1].
Signed-off-by: Oleksandr Babak <alexanderbabak@proton.me>
Link: https://crates.io/crates/static_cell [1]
[ Added link to `static_cell` - Benno ]
Signed-off-by: Benno Lossin <lossin@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
