[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72mFUMeovG=wJs_kAWn+j2v7WobgGP5aRBmoZc2ooQqpBA@mail.gmail.com>
Date: Wed, 1 Feb 2023 02:00:27 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Wedson Almeida Filho <wedsonaf@...il.com>
Cc: rust-for-linux@...r.kernel.org, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
linux-kernel@...r.kernel.org,
Vincenzo Palazzo <vincenzopalazzodev@...il.com>
Subject: Re: [PATCH v2 1/5] rust: types: introduce `ScopeGuard`
On Mon, Jan 30, 2023 at 7:44 AM Wedson Almeida Filho <wedsonaf@...il.com> 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
Powered by blists - more mailing lists