From 6dea99ec712bb406596113fc946c0e6e31c85e24 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Sat, 27 Aug 2022 08:19:33 +0100 Subject: [PATCH] Supress clippy error --- src/concurrency/weak_memory.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/concurrency/weak_memory.rs b/src/concurrency/weak_memory.rs index 6e7486c1355..cf21341e62b 100644 --- a/src/concurrency/weak_memory.rs +++ b/src/concurrency/weak_memory.rs @@ -306,6 +306,7 @@ fn buffered_write( Ok(()) } + #[allow(clippy::if_same_then_else, clippy::needless_bool)] /// Selects a valid store element in the buffer. fn fetch_store( &self,