Re: [PATCH v7 03/10] rust: num: add nz! macro for compile time NonZero values

From: Alexandre Courbot

Date: Fri Aug 21 2026 - 03:40:05 EST


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/DKO414SNC0B2.248FUBGJGSPLU@xxxxxxxxxx
> Signed-off-by: Eliot Courtney <ecourtney@xxxxxxxxxx>

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>