Skip to content

Commit 309e490

Browse files
ojedatorvalds
authored andcommitted
rust: sync: atomic: separate import "blocks"
Commit 14e9a18 ("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>
1 parent c84d574 commit 309e490

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/kernel/sync/atomic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ mod predefine;
2222

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

2728
use crate::build_error;

0 commit comments

Comments
 (0)