Re: [PATCH 2/2] rust: enable `too-long-first-doc-paragraph` clippy lint
From: Benno Lossin
Date: Mon Feb 17 2025 - 17:50:13 EST
On 17.02.25 19:07, Miguel Ojeda wrote:
> 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.
Ah yeah forgot about that. That's a good point.
> I can tweak it and put this patch into my warning rework series -- I
> had to send the v2 of that anyway. Sounds good?
Sure!
---
Cheers,
Benno