]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rust: aref: use the "kernel vertical" imports style
authorAndreas Hindborg <a.hindborg@kernel.org>
Thu, 4 Jun 2026 20:11:20 +0000 (22:11 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Wed, 10 Jun 2026 07:07:13 +0000 (09:07 +0200)
Convert the imports to use the "kernel vertical" imports style [1].

No functional changes intended.

Link: https://docs.kernel.org/rust/coding-guidelines.html#imports
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://patch.msgid.link/20260604-unique-ref-v17-8-7b4c3d2930b9@kernel.org
[ Picked from larger series and reworded. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/sync/aref.rs

index 9989f56d0605263ca14e26cd8f71b636f7fb154b..b721b2e00b986f9bd147ed66c67027a3e2c43ef8 100644 (file)
 //! [`Arc`]: crate::sync::Arc
 //! [`Arc<T>`]: crate::sync::Arc
 
-use core::{marker::PhantomData, mem::ManuallyDrop, ops::Deref, ptr::NonNull};
+use core::{
+    marker::PhantomData,
+    mem::ManuallyDrop,
+    ops::Deref,
+    ptr::NonNull, //
+};
 
 /// Types that are _always_ reference counted.
 ///