Skip to content

Commit ac3e82e

Browse files
bors[bot]taiki-e
andauthored
Merge #858
858: Ignore clippy::let_unit_value lint r=taiki-e a=taiki-e Co-authored-by: Taiki Endo <[email protected]>
2 parents f12133c + e718229 commit ac3e82e

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)