Messages in this thread Patch in this message | | | From | Ben Gooding <> | Subject | [PATCH] rust: lock: Reflow long documentation line | Date | Sun, 7 May 2023 17:27:39 +0100 |
| |
Suggested-by: Alice Ryhl <alice@ryhl.io> Signed-off-by: Ben Gooding <ben.gooding.dev@gmail.com> --- rust/kernel/sync/lock.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rust/kernel/sync/lock.rs b/rust/kernel/sync/lock.rs index 95466201dab7..04413f6f145a 100644 --- a/rust/kernel/sync/lock.rs +++ b/rust/kernel/sync/lock.rs @@ -72,8 +72,10 @@ pub unsafe trait Backend { /// A mutual exclusion primitive. /// -/// Exposes one of the kernel locking primitives. Which one is exposed depends on the lock [backend](Backend) -/// specified as the generic parameter `B`. +/// Exposes one of the kernel locking primitives. Which one is exposed depends on the lock +/// [backend] specified as the generic parameter `B`. +/// +/// [backend]: Backend #[pin_data] pub struct Lock<T: ?Sized, B: Backend> { /// The kernel lock object. -- 2.34.1
| |