Re: [PATCH 2/2] rust: enable `too-long-first-doc-paragraph` clippy lint

From: Miguel Ojeda
Date: Mon Feb 17 2025 - 13:07:28 EST


On Sun, Feb 16, 2025 at 10:38 PM Benno Lossin <benno.lossin@xxxxxxxxx> wrote:
>
> Introduced in Rust 1.82.0 [1], this lint ensures that the first line of

We will need to ignore unknown lints so that it does not warn on older
compilers.

We should probably do it conditionally instead -- it requires some
rework to do it for everything, but we can easily do it for kernel code.

I can tweak it and put this patch into my warning rework series -- I
had to send the v2 of that anyway. Sounds good?

Thanks!

Cheers,
Miguel