chore: utils: make clippy happy

This commit is contained in:
Paul Pan 2024-05-04 23:30:29 +08:00
parent 0c3ece6fdc
commit 2bb9e9b651
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,6 @@ impl<T> AtomicConstPtr<T> {
}
pub fn store(&self, ptr: *mut T, order: Ordering) {
self.0.store(ptr as *mut T, order)
self.0.store(ptr, order)
}
}

View File

@ -10,6 +10,7 @@ pub mod function_name;
pub mod linked_list;
pub mod size;
pub mod then;
pub mod warn;
#[cfg(test)]
#[macro_use]