about summary refs log tree commit diff
path: root/src/indieauth.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-05-17 18:52:12 +0300
committerVika <vika@fireburn.ru>2021-05-17 18:52:12 +0300
commitd178e35c34a9106dd6c0a86286ff56dc8b297942 (patch)
treedb99416312044e76a7678d836dc635bf0cf888b1 /src/indieauth.rs
parent9a2791d745f4a9f0307eb69b50de5629f51564cc (diff)
Make clippy happy
Diffstat (limited to 'src/indieauth.rs')
-rw-r--r--src/indieauth.rs2
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]