aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorBenno Lossin <[email protected]>2025-04-21 22:17:50 +0000
committerBenno Lossin <[email protected]>2025-05-01 16:08:52 +0000
commit90348980a305cc24a067cc6e606e1c318e277930 (patch)
tree4bcea488916abdf4bc972799b33cb43b743b682d /scripts/rustdoc_test_builder.rs
parentrust: pin-init: examples: use `allow` instead of `expect` (diff)
downloadkernel-90348980a305cc24a067cc6e606e1c318e277930.tar.gz
kernel-90348980a305cc24a067cc6e606e1c318e277930.zip
rust: pin-init: add `cast_[pin_]init` functions to change the initialized type
These functions cast the given pointer from one type to another. They are particularly useful when initializing transparent wrapper types. Link: https://github.com/Rust-for-Linux/pin-init/pull/39/commits/80c03ddee41b154f1099fd8cc7c2bbd8c80af0ad Reviewed-by: Christian Schrefl <[email protected]> Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions