Re: [PATCH v2 1/5] rust: types: introduce `ScopeGuard`

From: Miguel Ojeda
Date: Tue Jan 31 2023 - 20:00:59 EST


On Mon, Jan 30, 2023 at 7:44 AM Wedson Almeida Filho <wedsonaf@xxxxxxxxx> wrote:
>
> This allows us to run some code when the guard is dropped (e.g.,
> implicitly when it goes out of scope). We can also prevent the
> guard from running by calling its `dismiss()` method.

Series applied to `rust-next`, thanks a lot!

Cheers,
Miguel