mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
sorted the extern crate, mod & use declarations
This commit is contained in:
parent
705ad72aee
commit
889eec364b
194 changed files with 804 additions and 870 deletions
|
@ -8,7 +8,7 @@
|
|||
//! In release builds, `get` returns 0. All of the other functions inline
|
||||
//! away to nothing.
|
||||
|
||||
pub use self::imp::{initialize, get, enter, exit};
|
||||
pub use self::imp::{enter, exit, get, initialize};
|
||||
|
||||
bitflags! {
|
||||
flags TaskState: u32 {
|
||||
|
@ -50,7 +50,7 @@ task_types! {
|
|||
#[cfg(debug_assertions)]
|
||||
mod imp {
|
||||
use std::cell::RefCell;
|
||||
use super::{TaskState, TYPES};
|
||||
use super::{TYPES, TaskState};
|
||||
|
||||
thread_local!(static STATE: RefCell<Option<TaskState>> = RefCell::new(None));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue