Ignore clippy false positive

This commit is contained in:
Felix Ableitner 2022-06-02 16:10:18 +02:00
parent 5ba09005af
commit 3044d819a6

View file

@ -51,6 +51,8 @@ impl ActivityHandler for Follow {
Ok(()) Ok(())
} }
// Ignore clippy false positive: https://github.com/rust-lang/rust-clippy/issues/6446
#[allow(clippy::await_holding_lock)]
async fn receive( async fn receive(
self, self,
data: &Data<Self::DataType>, data: &Data<Self::DataType>,