summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorNicolás Antinori <nico.antinori.7@gmail.com>2026-07-23 19:19:45 +0100
committerGary Guo <gary@garyguo.net>2026-07-27 11:52:08 +0100
commit9e813b9abdfb626f0607b1ec94d201a2b8691f4e (patch)
treeae4365fa83a4c05cd6b4d89cdac102afd6f7c564 /rust/kernel/alloc
parent5bbf2b2deb94d0ef8324866d39cb5e0947ca5068 (diff)
rust: pin-init: docs: link `Zeroable::zeroed` and `pin_init::zeroed` in documentation
Modify the comments in the `pin_init::zeroed` and `Zeroable::zeroed` functions to cross-reference each other and make developers aware of both options. This also adapts the example code in `Zeroable::zeroed` doc comments to use that function. Suggested-by: Miguel Ojeda <ojeda@kernel.org> Link: https://lore.kernel.org/rust-for-linux/CANiq72kdCAyRUmXFcqQfkHpk1miG8Gagsn0_5U8p4WpKxv9d_g@mail.gmail.com/ Signed-off-by: Nicolás Antinori <nico.antinori.7@gmail.com> [ Fix link. - Gary ] Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions