Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit fe7d9d80 authored by Roland Xu's avatar Roland Xu Committed by Miguel Ojeda
Browse files

rust: kernel: make impl_has_work compatible with more generics


Make the impl_has_work macro compatible with more complex generics such
as lifetimes and const generic arguments.

Signed-off-by: default avatarRoland Xu <mu001999@outlook.com>
Link: https://lore.kernel.org/r/ME0P282MB4890A180B99490CC65EF64FDCCEB2@ME0P282MB4890.AUSP282.PROD.OUTLOOK.COM


Suggested-by: default avatarBenno Lossin <benno.lossin@proton.me>
Link: https://github.com/Rust-for-Linux/linux/issues/1077


[ Wrapped message to 72 columns. - Miguel ]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 526c5394
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment