mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix some warnings in layout.
This commit is contained in:
parent
31f6595981
commit
2b0eb98c1d
7 changed files with 28 additions and 17 deletions
|
@ -14,11 +14,11 @@ use serialize::json;
|
|||
use std::borrow::ToOwned;
|
||||
use std::cell::RefCell;
|
||||
use std::old_io::File;
|
||||
use std::sync::atomic::{AtomicUint, Ordering, ATOMIC_UINT_INIT};
|
||||
use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
|
||||
|
||||
thread_local!(static STATE_KEY: RefCell<Option<State>> = RefCell::new(None));
|
||||
|
||||
static mut DEBUG_ID_COUNTER: AtomicUint = ATOMIC_UINT_INIT;
|
||||
static mut DEBUG_ID_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT;
|
||||
|
||||
pub struct Scope;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue