Skip to content

Commit

Permalink
Ignore clippy::let_unit_value lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 1, 2022
1 parent f12133c commit e718229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crossbeam-utils/src/atomic/atomic_cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ unsafe fn atomic_swap<T>(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<T>(dst: *mut T, mut current: T, new: T) -> Result<T, T>
where
T: Copy + Eq,
Expand Down

0 comments on commit e718229

Please sign in to comment.