aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2025-04-07 20:18:29 +0000
committerMiguel Ojeda <[email protected]>2025-04-08 19:12:58 +0000
commit193b5a75744af2669ad7c5f7aa4f9219dc73ca69 (patch)
tree73e2eca00156a7ee6f2820bede14ff61d2350c65 /rust/helpers/platform.c
parentrust: pin-init: alloc: restrict `impl ZeroableOption` for `Box` to `T: Sized` (diff)
downloadkernel-193b5a75744af2669ad7c5f7aa4f9219dc73ca69.tar.gz
kernel-193b5a75744af2669ad7c5f7aa4f9219dc73ca69.zip
rust: pin-init: use Markdown autolinks in Rust comments
"Normal" comments in Rust (`//`) are also formatted in Markdown, like the documentation (`///` and `//!`), see Documentation/rust/coding-guidelines.rst Thus use Markdown autolinks for a couple links that were missing it. It also helps to get proper linking in some software like kitty [1]. Suggested-by: Benno Lossin <[email protected]> Link: https://github.com/Rust-for-Linux/pin-init/pull/32#discussion_r2023103712 [1] Signed-off-by: Miguel Ojeda <[email protected]> Link: https://github.com/Rust-for-Linux/pin-init/pull/32/commits/dd230d61bf0538281072fbff4bb71efc58f3420c Fixes: 84837cf6fa54 ("rust: pin-init: change examples to the user-space version") Cc: [email protected] [ Change case in title. Reworded commit message. - Benno ] Signed-off-by: Benno Lossin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions