mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
style: Reformat recent style system changes.
This commit is contained in:
parent
87ec2cefc5
commit
81f40a57e4
13 changed files with 207 additions and 214 deletions
|
@ -62,9 +62,8 @@ pub fn profiler_is_active() -> bool {
|
|||
use std::mem;
|
||||
use std::sync::atomic::{AtomicU32, Ordering};
|
||||
|
||||
let active_and_features: &AtomicU32 = unsafe {
|
||||
mem::transmute(&detail::RacyFeatures_sActiveAndFeatures)
|
||||
};
|
||||
let active_and_features: &AtomicU32 =
|
||||
unsafe { mem::transmute(&detail::RacyFeatures_sActiveAndFeatures) };
|
||||
(active_and_features.load(Ordering::Relaxed) & detail::RacyFeatures_Active) != 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue