style: Reformat recent style system changes.

This commit is contained in:
Emilio Cobos Álvarez 2019-05-25 03:11:41 +02:00
parent 87ec2cefc5
commit 81f40a57e4
13 changed files with 207 additions and 214 deletions

View file

@ -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
}