Re: [PATCH 29/33] docs: rust: general-information: simplify Kconfig example
From: Tamir Duberstein
Date: Wed Apr 01 2026 - 19:18:15 EST
On Wed, 01 Apr 2026 13:45:36 +0200, Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
> There is no need to use `def_bool y if <expr>` -- one can simply write
> `def_bool <expr>`.
>
> In fact, the simpler form is how we actually use them in practice in
> `init/Kconfig`.
>
> Thus simplify the example.
>
> [...]
Reviewed-by: Tamir Duberstein <tamird@xxxxxxxxxx>
--
Tamir Duberstein <tamird@xxxxxxxxxx>