Move Queries::new
out of the macro
This commit is contained in:
parent
699bfa882b
commit
d2c53caee2
2 changed files with 21 additions and 16 deletions
|
@ -48,7 +48,7 @@ cfg_if! {
|
|||
/// the native atomic types.
|
||||
/// You should use this type through the `AtomicU64`, `AtomicUsize`, etc, type aliases
|
||||
/// as it's not intended to be used separately.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Default)]
|
||||
pub struct Atomic<T: Copy>(Cell<T>);
|
||||
|
||||
impl<T: Copy> Atomic<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue