Skip to content

Commit

Permalink
Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jeehoonkang committed May 19, 2020
1 parent c7bfa37 commit a3559ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crossbeam-utils/src/cache_padded.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ use core::ops::{Deref, DerefMut};
// - https://www.mono-project.com/news/2016/09/12/arm64-icache/
//
#[cfg_attr(any(target_arch = "x86_64", target_arch = "aarch64"), repr(align(128)))]
#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "aarch64")), repr(align(64)))]
#[cfg_attr(
not(any(target_arch = "x86_64", target_arch = "aarch64")),
repr(align(64))
)]
pub struct CachePadded<T> {
value: T,
}
Expand Down

0 comments on commit a3559ff

Please sign in to comment.