chore: apply rustfmt to all crates (#917)

This commit is contained in:
Carl Lerche
2019-02-21 11:56:15 -08:00
committed by GitHub
parent ab595d0825
commit 80162306e7
253 changed files with 3710 additions and 3407 deletions
+3 -3
View File
@@ -35,16 +35,16 @@ mod imp {
}
pub fn compare_and_swap(&self, old: u64, new: u64, ordering: Ordering) -> u64 {
self.inner.compare_and_swap(
old as usize, new as usize, ordering) as u64
self.inner
.compare_and_swap(old as usize, new as usize, ordering) as u64
}
}
}
#[cfg(not(target_pointer_width = "64"))]
mod imp {
use std::sync::Mutex;
use std::sync::atomic::Ordering;
use std::sync::Mutex;
#[derive(Debug)]
pub struct AtomicU64 {