Re: [PATCH 4/4] rust: xarray: Add Guard::find() helper
From: Alvin Sun
Date: Fri Apr 24 2026 - 11:14:32 EST
On 4/24/26 19:42, Andreas Hindborg wrote:
"Alvin Sun" <alvin.sun@xxxxxxxxx> writes:
Add a helper to find the first present entry in the XArray.I submitted a similar patch a while back as part of the dependencies for
Returns the index of the first present entry, or None if the array
is empty.
Signed-off-by: Alvin Sun <alvin.sun@xxxxxxxxx>
rust null block [1]. Could you check if you could use this patch for
your use case?
Best regards,
Andreas Hindborg
[1] https://lore.kernel.org/all/20260209-xarray-entry-send-v3-7-f777c65b8ae2@xxxxxxxxxx/
Sure. Looks like Tamir has already told me about this patch series.
I'll try it later.
Best regards,
Alvin