Re: [PATCH] gpu: nova-core: simplify and_then with condition to filter

From: Alice Ryhl

Date: Mon Apr 27 2026 - 14:48:07 EST


On Thu, Apr 23, 2026 at 04:11:44PM +0900, Eliot Courtney wrote:
> This code is more simply expressed using Option::filter instead of the
> and_then with conditional.
>
> Signed-off-by: Eliot Courtney <ecourtney@xxxxxxxxxx>

Applied to drm-rust, thanks!

I modified the commit message to quote the clippy warning fixed by this
commit and added Fixes:/Cc: stable tags.

Alice