Re: [PATCH v3] rust: kernel: make impl_has_work compatible with more generics

From: Miguel Ojeda
Date: Tue Jul 09 2024 - 03:51:23 EST


On Wed, May 22, 2024 at 6:09 PM Roland Xu <mu001999@xxxxxxxxxxx> wrote:
>
> Make the impl_has_work macro compatible
> with more complex generics such as
> lifetimes and const generic arguments.
>
> Signed-off-by: Roland Xu <mu001999@xxxxxxxxxxx>

Applied to `rust-next` -- thanks!

I thought about keeping the original example, i.e. non-generic, but it
is a minor thing and we test the non-generic case anyway in another
documentation block above.

[ Wrapped message to 72 columns. - Miguel ]

Cheers,
Miguel