mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 11:56:58 +00:00
rust: sync: atomic: separate import "blocks"
Commit 14e9a18b07 ("rust: sync: atomic: Make Atomic*Ops pub(crate)")
added a `pub(crate)` import in the same "block" as the `pub` one,
without running `rustfmt`, which would sort them differently.
Instead of running `rustfmt` as-is, add a newline to keep the import
"blocks" with different visibilities separate.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c84d574698
commit
309e49039f
@@ -22,6 +22,7 @@ mod predefine;
|
||||
|
||||
pub use internal::AtomicImpl;
|
||||
pub use ordering::{Acquire, Full, Relaxed, Release};
|
||||
|
||||
pub(crate) use internal::{AtomicArithmeticOps, AtomicBasicOps, AtomicExchangeOps};
|
||||
|
||||
use crate::build_error;
|
||||
|
||||
Reference in New Issue
Block a user