summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorBenno Lossin <lossin@kernel.org>2025-05-29 10:10:23 +0200
committerBenno Lossin <lossin@kernel.org>2025-06-11 21:13:56 +0200
commit8b3d955f72f999ccce26aabdeb09939964d05a61 (patch)
tree39b7c7535c7a6967ddad3d7987149047b7b87be5 /scripts/lib/kdoc/kdoc_files.py
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
rust: pin-init: improve safety documentation for `impl<T> [Pin]Init<T> for T`
The inner SAFETY comments were missing since commit 5cfe7bef6751 ("rust: enable `clippy::undocumented_unsafe_blocks` lint"). Also rework the implementation of `__pinned_init` to better justify the SAFETY comment. Link: https://github.com/Rust-for-Linux/pin-init/pull/62/commits/df925b2e27d499b7144df7e62b01acb00d4b94b8 Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/all/20250529081027.297648-1-lossin@kernel.org Signed-off-by: Benno Lossin <lossin@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions