Rename AtomicInt and AtomicUint
Change any use of AtomicInt to AtomicIsize and AtomicUint to AtomicUsize Closes #20893 [breaking-change]
This commit is contained in:
parent
099b411e08
commit
8b6cda3ce6
24 changed files with 360 additions and 227 deletions
|
@ -211,7 +211,7 @@ impl Timer {
|
|||
// instead of ()
|
||||
HELPER.boot(|| {}, helper);
|
||||
|
||||
static ID: atomic::AtomicUint = atomic::ATOMIC_UINT_INIT;
|
||||
static ID: atomic::AtomicUsize = atomic::ATOMIC_USIZE_INIT;
|
||||
let id = ID.fetch_add(1, Ordering::Relaxed);
|
||||
Ok(Timer {
|
||||
id: id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue