[PATCH] rust: sync: atomic: separate import "blocks"

From: Miguel Ojeda

Date: Thu Dec 04 2025 - 09:50:52 EST


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@xxxxxxxxxx>
---
Perhaps Linus could pick this one directly if ATOMIC Ack's it?

rust/kernel/sync/atomic.rs | 1 +
1 file changed, 1 insertion(+)

diff --git a/rust/kernel/sync/atomic.rs b/rust/kernel/sync/atomic.rs
index 3afc376be42d..4aebeacb961a 100644
--- a/rust/kernel/sync/atomic.rs
+++ b/rust/kernel/sync/atomic.rs
@@ -22,6 +22,7 @@

pub use internal::AtomicImpl;
pub use ordering::{Acquire, Full, Relaxed, Release};
+
pub(crate) use internal::{AtomicArithmeticOps, AtomicBasicOps, AtomicExchangeOps};

use crate::build_error;

base-commit: 559e608c46553c107dbba19dae0854af7b219400
--
2.52.0