Re: [PATCH v3 3/4] rust: rework `build_assert!` documentation

From: Alexandre Courbot

Date: Sat Mar 21 2026 - 09:09:47 EST


On Thu Mar 19, 2026 at 9:16 PM JST, Gary Guo wrote:
> From: Gary Guo <gary@xxxxxxxxxxx>
>
> Add a detailed comparison and recommendation of the three types of
> build-time assertion macro as module documentation (and un-hide the module
> to render them).
>
> The documentation on the macro themselves are simplified to only cover the
> scenarios where they should be used; links to the module documentation is
> added instead.
>
> Reviewed-by: Yury Norov <ynorov@xxxxxxxxxx>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>

That's a great improvement over the documentation, makes the use
scenarios crytal-clear.

Reviewed-by: Alexandre Courbot <acourbot@xxxxxxxxxx>