From: Benno Lossin Date: Wed, 16 Apr 2025 22:50:15 +0000 (+0000) Subject: rust: pin-init: synchronize README.md X-Git-Tag: v6.16-rc1~45^2~34^2~13 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2cce50f5ab83d01cc3aafa3fb55cba97584aee51;p=linux-block.git rust: pin-init: synchronize README.md The upstream version of the `README.md` differs by this change, so synchronize it. The reason that this wasn't in the original sync patch is that this was a late change that I didn't port back to the kernel repo, since it was generated by `cargo rdme`. Link: https://lore.kernel.org/all/20250416225002.25253-1-benno.lossin@proton.me Signed-off-by: Benno Lossin --- diff --git a/rust/pin-init/README.md b/rust/pin-init/README.md index 3d04796b212b..24d0f0a3f8fb 100644 --- a/rust/pin-init/README.md +++ b/rust/pin-init/README.md @@ -218,11 +218,13 @@ the `kernel` crate. The [`sync`] module is a good starting point. [pinning]: https://doc.rust-lang.org/std/pin/index.html [structurally pinned fields]: https://doc.rust-lang.org/std/pin/index.html#pinning-is-structural-for-field [stack]: https://docs.rs/pin-init/latest/pin_init/macro.stack_pin_init.html -[`Arc`]: https://doc.rust-lang.org/stable/alloc/sync/struct.Arc.html -[`Box`]: https://doc.rust-lang.org/stable/alloc/boxed/struct.Box.html [`impl PinInit`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html [`impl PinInit`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html [`impl Init`]: https://docs.rs/pin-init/latest/pin_init/trait.Init.html [Rust-for-Linux]: https://rust-for-linux.com/ + + +[`Arc`]: https://doc.rust-lang.org/stable/alloc/sync/struct.Arc.html +[`Box`]: https://doc.rust-lang.org/stable/alloc/boxed/struct.Box.html