Fix warning on ATOMIC_USIZE_INIT & ATOMIC_BOOL_INIT

This commit is contained in:
Camille TJHOA
2019-02-15 11:58:48 +00:00
parent 7c7acf2aa6
commit 768b654b58
4 changed files with 8 additions and 9 deletions

View File

@ -9,7 +9,7 @@ extern crate quote;
use proc_macro2::*;
use std::sync::atomic::*;
static CNT: AtomicUsize = ATOMIC_USIZE_INIT;
static CNT: AtomicUsize = AtomicUsize::new(0);
#[proc_macro_attribute]
pub fn wasm_bindgen_test(