mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 09:12:39 -04:00
rust: pin-init: Update the structural pinning link in readme.
The previous link anchor was broken in rust 1.77, because the
documentation was refactored in upstream rust.
Change the link to refer to the new section in the rust documentation.
Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Link: a146142fe1
[ Fixed commit authorship. - Benno ]
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
This commit is contained in:
committed by
Benno Lossin
parent
bc5f3e0e01
commit
c3815aa4bb
@@ -222,7 +222,7 @@ the `kernel` crate. The [`sync`] module is a good starting point.
|
||||
|
||||
[`sync`]: https://rust.docs.kernel.org/kernel/sync/index.html
|
||||
[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
|
||||
[structurally pinned fields]: https://doc.rust-lang.org/std/pin/index.html#projections-and-structural-pinning
|
||||
[stack]: https://docs.rs/pin-init/latest/pin_init/macro.stack_pin_init.html
|
||||
[`impl PinInit<Foo>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
|
||||
[`impl PinInit<T, E>`]: https://docs.rs/pin-init/latest/pin_init/trait.PinInit.html
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
//! [`sync`]: https://rust.docs.kernel.org/kernel/sync/index.html
|
||||
//! [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
|
||||
//! https://doc.rust-lang.org/std/pin/index.html#projections-and-structural-pinning
|
||||
//! [stack]: crate::stack_pin_init
|
||||
#![cfg_attr(
|
||||
kernel,
|
||||
|
||||
Reference in New Issue
Block a user