Re: [PATCH v2 1/3] rust: revocable: implement Revocable::access()

From: Miguel Ojeda
Date: Thu May 01 2025 - 10:22:03 EST


On Mon, 28 Apr 2025 16:00:27 +0200 Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Implement an unsafe direct accessor for the data stored within the
> Revocable.
>
> This is useful for cases where we can prove that the data stored within
> the Revocable is not and cannot be revoked for the duration of the
> lifetime of the returned reference.
>
> Reviewed-by: Christian Schrefl <chrisi.schrefl@xxxxxxxxx>
> Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>

Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Cheers,
Miguel