Re: [PATCH 13/13] rust: locked_by: shorten doclink preview

From: Alice Ryhl
Date: Tue Jan 30 2024 - 04:22:08 EST


On Wed, Jan 17, 2024 at 1:16 AM Valentin Obst <kernel@xxxxxxxxxxxxxxx> wrote:
> /// In most cases, data protected by a lock is wrapped by the appropriate lock type, e.g.,
> -/// [`super::Mutex`] or [`super::SpinLock`]. [`LockedBy`] is meant for cases when this is not
> +/// [`Mutex`] or [`SpinLock`]. [`LockedBy`] is meant for cases when this is not
> /// possible. For example, if a container has a lock and some data in the contained elements needs
> /// to be protected by the same lock.

It looks like the text should be reflowed here. The "possible" word
fits on the previous line.