diff options
author | Vika <vika@fireburn.ru> | 2021-05-17 18:52:12 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-17 18:52:12 +0300 |
commit | d178e35c34a9106dd6c0a86286ff56dc8b297942 (patch) | |
tree | db99416312044e76a7678d836dc635bf0cf888b1 /src/indieauth.rs | |
parent | 9a2791d745f4a9f0307eb69b50de5629f51564cc (diff) | |
download | kittybox-d178e35c34a9106dd6c0a86286ff56dc8b297942.tar.zst |
Make clippy happy
Diffstat (limited to 'src/indieauth.rs')
-rw-r--r-- | src/indieauth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indieauth.rs b/src/indieauth.rs index f6bac04..7a2a07e 100644 --- a/src/indieauth.rs +++ b/src/indieauth.rs @@ -126,7 +126,7 @@ impl Drop for IndieAuthMiddleware { // Because apparently you can't run async code from Drop... // This should drop the last reference for the [`cache`], // allowing it to be dropped. - async_std::task::spawn(async move { task.cancel() }); + async_std::task::spawn(async move { task.cancel().await }); } } #[async_trait] |