From 7d0a63776456eff6dda362bd9304dfd69005fbf9 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sat, 28 May 2022 16:19:27 +0100 Subject: [PATCH] Permit await_holding_lock --- serial_test/src/parallel_code_lock.rs | 2 ++ serial_test/src/serial_code_lock.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/serial_test/src/parallel_code_lock.rs b/serial_test/src/parallel_code_lock.rs index 23354f7..e521389 100644 --- a/serial_test/src/parallel_code_lock.rs +++ b/serial_test/src/parallel_code_lock.rs @@ -1,3 +1,5 @@ +#![allow(clippy::await_holding_lock)] + use crate::code_lock::{check_new_key, LOCKS}; use std::ops::Deref; diff --git a/serial_test/src/serial_code_lock.rs b/serial_test/src/serial_code_lock.rs index 6d41c48..5bd689d 100644 --- a/serial_test/src/serial_code_lock.rs +++ b/serial_test/src/serial_code_lock.rs @@ -1,3 +1,5 @@ +#![allow(clippy::await_holding_lock)] + use crate::code_lock::{check_new_key, LOCKS}; use std::ops::Deref;