Re: [PATCH 1/3] rust: bitfield: add missing doccomments for associated constants
From: Gary Guo
Date: Mon Nov 30 2026 - 08:09:39 EST
On Fri Nov 27, 2026 at 11:46 AM GMT, Alexandre Courbot wrote:
> The associated constants describing the range, mask and shift of each
> field do not carry any doccomment. This triggers the `missing_docs` lint
> on bitfields declared with `pub` visibility.
>
> Add a simple doccomment to get rid of that warning.
>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> rust/kernel/bitfield.rs | 3 +++
> 1 file changed, 3 insertions(+)