diff options
| author | Joshua Nelson <jnelson@cloudflare.com> | 2022-08-29 19:30:25 -0500 |
|---|---|---|
| committer | Joshua Nelson <jnelson@cloudflare.com> | 2022-09-06 21:41:01 -0500 |
| commit | d2c53caee218296482c11a56354688a9a7e9636f (patch) | |
| tree | 138ee3add6e72f78a98765e868bbd66b3cbc8e79 /compiler/rustc_data_structures | |
| parent | 699bfa882b34a73b333e684e96984c1c565d2eff (diff) | |
| download | rust-d2c53caee218296482c11a56354688a9a7e9636f.tar.gz rust-d2c53caee218296482c11a56354688a9a7e9636f.zip | |
Move `Queries::new` out of the macro
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/src/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/sync.rs b/compiler/rustc_data_structures/src/sync.rs index 258780ecaea..9c0fb8265cf 100644 --- a/compiler/rustc_data_structures/src/sync.rs +++ b/compiler/rustc_data_structures/src/sync.rs @@ -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> { |
