[PATCH 29/33] docs: rust: general-information: simplify Kconfig example
Tamir Duberstein
tamird at kernel.org
Wed Apr 1 15:59:04 PDT 2026
On Wed, 01 Apr 2026 13:45:36 +0200, Miguel Ojeda <ojeda at kernel.org> 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 at kernel.org>
--
Tamir Duberstein <tamird at kernel.org>
More information about the linux-riscv
mailing list