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

From: Miguel Ojeda
Date: Mon May 08 2023 - 16:55:46 EST


On Sun, May 7, 2023 at 5:23 PM Ben Gooding <ben.gooding.dev@xxxxxxxxx> wrote:
>
> Also fix a minor typo in one of the comments

"iff" is not a typo. Even if it were, it is best to avoid mixing
different types of changes in commits, to keep them as small as
possible (though sometimes there are exceptions).

> -/// 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)

What about simply:

[`Backend`]

? (assuming it works).

Cheers,
Miguel