Re: [PATCH] rust: remove ignores for `clippy::new_ret_no_self`

From: Benno Lossin
Date: Sat Sep 23 2023 - 11:03:59 EST


On 23.09.23 04:46, Gary Guo wrote:
> The clippy false positive triggering `new_ret_no_self` lint when using
> `pin_init!` macro is fixed in 1.67, so remove all `#[allow]`s ignoring
> the lint.
>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> rust/kernel/init.rs | 20 ++++++++++----------
> rust/kernel/sync/condvar.rs | 1 -
> rust/kernel/sync/lock.rs | 1 -
> 3 files changed, 10 insertions(+), 12 deletions(-)
>

Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>