Skip to content

Commit e718229

Browse files
committed
Ignore clippy::let_unit_value lint
1 parent f12133c commit e718229

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crossbeam-utils/src/atomic/atomic_cell.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,7 @@ unsafe fn atomic_swap<T>(dst: *mut T, val: T) -> T {
10721072
///
10731073
/// This operation uses the `AcqRel` ordering. If possible, an atomic instructions is used, and a
10741074
/// global lock otherwise.
1075+
#[allow(clippy::let_unit_value)]
10751076
unsafe fn atomic_compare_exchange_weak<T>(dst: *mut T, mut current: T, new: T) -> Result<T, T>
10761077
where
10771078
T: Copy + Eq,

0 commit comments

Comments
 (0)