Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rust: sync: atomic: separate import "blocks"

Commit 14e9a18b07ec ("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>

authored by

Miguel Ojeda and committed by
Linus Torvalds
309e4903 c84d5746

+1
+1
rust/kernel/sync/atomic.rs
··· 22 22 23 23 pub use internal::AtomicImpl; 24 24 pub use ordering::{Acquire, Full, Relaxed, Release}; 25 + 25 26 pub(crate) use internal::{AtomicArithmeticOps, AtomicBasicOps, AtomicExchangeOps}; 26 27 27 28 use crate::build_error;