Correct monero-serai for aggressive clippy

This commit is contained in:
Luke Parker
2023-07-08 01:46:44 -04:00
parent 3ca76c51e4
commit 7685cc305f
13 changed files with 40 additions and 36 deletions

View File

@@ -102,6 +102,7 @@ pub static SEQUENTIAL: OnceLock<Mutex<()>> = OnceLock::new();
macro_rules! async_sequential {
($(async fn $name: ident() $body: block)*) => {
$(
#[allow(clippy::tests_outside_test_module)]
#[tokio::test]
async fn $name() {
let guard = runner::SEQUENTIAL.get_or_init(|| tokio::sync::Mutex::new(())).lock().await;