Re: [PATCH v2 06/12] rust: io: register: implement Copy and Clone for RegisterArrayLoc
From: Eliot Courtney
Date: Mon Nov 09 2026 - 00:01:28 EST
On Sat Nov 7, 2026 at 6:48 PM JST, Alexandre Courbot wrote:
> Register array locations are small values that are cheap to copy, but
> obtaining one can fail. Making them implement `Copy` lets the same
> location be checked once and used for several accesses.
>
> Cc: Danilo Krummrich <dakr@xxxxxxxxxx>
> Cc: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Cc: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
> Cc: Gary Guo <gary@xxxxxxxxxxx>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> ---
Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>