From 07bd57a20ffb18cbd1dfdd751378dabcd4f754ab Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Tue, 21 Jun 2022 16:38:51 +0200 Subject: [PATCH] Fix style --- CHANGELOG.md | 1 + macros/src/codegen/monotonic.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d1a9f3d5f..22edb85310 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top! ### Added - Allow custom `link_section` attributes for late resources +- Support for `async` tasks and idle ### Fixed diff --git a/macros/src/codegen/monotonic.rs b/macros/src/codegen/monotonic.rs index 8931dbbdbe..22f6c83dd9 100644 --- a/macros/src/codegen/monotonic.rs +++ b/macros/src/codegen/monotonic.rs @@ -88,7 +88,7 @@ pub fn codegen(app: &App, _analysis: &Analysis, _extra: &Extra) -> TokenStream2 until: ::Instant, waker_storage: Option>>, } - + impl Drop for DelayFuture { fn drop(&mut self) { if let Some(waker_storage) = &mut self.waker_storage {