[PATCH v17 08/10] rust: aref: update formatting of use statements

Onur Özkan work at onurozkan.dev
Tue Jun 23 17:55:29 UTC 2026


On Thu, 04 Jun 2026 22:11:20 +0200
Andreas Hindborg <a.hindborg at kernel.org> wrote:

> Update formatting if use statements in preparation for next commit.

I guess you meant "formatting use statements"? Also, why not doing this in
the next commit directly?

Onur

> 
> Signed-off-by: Andreas Hindborg <a.hindborg at kernel.org>
> ---
>  rust/kernel/sync/aref.rs | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/rust/kernel/sync/aref.rs b/rust/kernel/sync/aref.rs
> index 7491382bcf29..818c84fa923a 100644
> --- a/rust/kernel/sync/aref.rs
> +++ b/rust/kernel/sync/aref.rs
> @@ -17,7 +17,12 @@
>  //! [`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 internally reference counted.
>  ///
> 
> -- 
> 2.51.2
> 
> 



More information about the Linux-security-module-archive mailing list