[PATCH v2 15/33] rust: macros: simplify code using `feature(extract_if)`

Tamir Duberstein tamird at kernel.org
Mon Apr 6 07:28:56 PDT 2026


On Mon, 06 Apr 2026 01:52:51 +0200, Miguel Ojeda <ojeda at kernel.org> wrote:
> `feature(extract_if)` [1] was stabilized in Rust 1.87.0 [2], and the last
> significant change happened in Rust 1.85.0 [3] when the range parameter
> was added.
> 
> That is, with our new minimum version, we can start using the feature.
> 
> Thus simplify the code using the feature and remove the TODO comment.
> 
> [...]

Reviewed-by: Tamir Duberstein <tamird at kernel.org>

-- 
Tamir Duberstein <tamird at kernel.org>



More information about the linux-riscv mailing list