From e718229c3d10befeb015b26e4beaaee19a109fe2 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 1 Jul 2022 11:07:30 +0900 Subject: [PATCH] Ignore clippy::let_unit_value lint --- crossbeam-utils/src/atomic/atomic_cell.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crossbeam-utils/src/atomic/atomic_cell.rs b/crossbeam-utils/src/atomic/atomic_cell.rs index 9fed45d4c..78a2abc9b 100644 --- a/crossbeam-utils/src/atomic/atomic_cell.rs +++ b/crossbeam-utils/src/atomic/atomic_cell.rs @@ -1072,6 +1072,7 @@ unsafe fn atomic_swap(dst: *mut T, val: T) -> T { /// /// This operation uses the `AcqRel` ordering. If possible, an atomic instructions is used, and a /// global lock otherwise. +#[allow(clippy::let_unit_value)] unsafe fn atomic_compare_exchange_weak(dst: *mut T, mut current: T, new: T) -> Result where T: Copy + Eq,