mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
chore: utils: make clippy happy
This commit is contained in:
parent
0c3ece6fdc
commit
2bb9e9b651
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user