diff options
| author | Andreas Hindborg <[email protected]> | 2025-03-09 15:19:00 +0000 |
|---|---|---|
| committer | Andreas Hindborg <[email protected]> | 2025-03-22 11:08:54 +0000 |
| commit | b4fecceee29e2a6453ac746e70c16fe7f70babf9 (patch) | |
| tree | 1f09cba5dd32a4369c55572c439b4c88c673b8b5 /samples/rust/rust_driver_platform.rs | |
| parent | rust: hrtimer: implement `UnsafeHrTimerPointer` for `Pin<&mut T>` (diff) | |
| download | kernel-b4fecceee29e2a6453ac746e70c16fe7f70babf9.tar.gz kernel-b4fecceee29e2a6453ac746e70c16fe7f70babf9.zip | |
rust: alloc: add `Box::into_pin`
Add an associated function to convert a `Box<T>` into a `Pin<Box<T>>`.
Acked-by: Danilo Krummrich <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andreas Hindborg <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
