Re: [PATCH] rust: lock: Add intra-doc links to the Backend trait

From: Alice Ryhl
Date: Sun May 07 2023 - 11:28:44 EST


On 5/7/23 17:22, Ben Gooding wrote:
Also fix a minor typo in one of the comments

Suggested-by: Benno Lossin <benno.lossin@xxxxxxxxx>
Link: https://lore.kernel.org/rust-for-linux/94625fe6-b87a-a8f0-5b2a-a8152d5f7436@xxxxxxxxx/
Link: https://github.com/Rust-for-Linux/linux/issues/1001
Signed-off-by: Ben Gooding <ben.gooding.dev@xxxxxxxxx>
---
-/// Exposes one of the kernel locking primitives. Which one is exposed depends on the lock backend
+/// Exposes one of the kernel locking primitives. Which one is exposed depends on the lock [backend](Backend)

This line is too long. Please reflow at 100 characters.

You can also consider this option:

/// Exposes one of the kernel locking primitives. Which one is exposed depends on the lock [backend]
/// specified as the generic parameter `B`.
///
/// [backend]: Backend