From 3044d819a6590b2d32741534d99451a6701e9da8 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 2 Jun 2022 16:10:18 +0200 Subject: [PATCH] Ignore clippy false positive --- examples/federation/activities/follow.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/federation/activities/follow.rs b/examples/federation/activities/follow.rs index 5638471..6122e39 100644 --- a/examples/federation/activities/follow.rs +++ b/examples/federation/activities/follow.rs @@ -51,6 +51,8 @@ impl ActivityHandler for Follow { Ok(()) } + // Ignore clippy false positive: https://github.com/rust-lang/rust-clippy/issues/6446 + #[allow(clippy::await_holding_lock)] async fn receive( self, data: &Data,