rust: sync: atomic: separate import "blocks"
Subsystems (3)
Miguel Ojeda
maintainerPATCH 1/1 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 <[email protected]>
---
Perhaps Linus could pick this one directly if ATOMIC Ack's it?
rust/kernel/sync/atomic.rs | 1 + 1 file changed, 1 insertion(+)
rust/kernel/sync/atomic.rs +1 -0
@@ -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