Re: [PATCH v7 03/10] rust: num: add nz! macro for compile time NonZero values
"Alexandre Courbot" <[email protected]>
| Newsgroups | dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux |
|---|---|
| Message-ID | <[email protected]> |
On Mon Aug 17, 2026 at 4:04 PM JST, Eliot Courtney wrote: > Currently, using NonZero constants is quite verbose. It's unfortunate > because it disincentivizes using it in interface boundaries. Introduce a > macro to make it nicer to use. > > Link: https://lore.kernel.org/[email protected] > Signed-off-by: Eliot Courtney <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]>