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

From: Onur Özkan

Date: Tue Jun 23 2026 - 14:00:59 EST


On Thu, 04 Jun 2026 22:11:20 +0200
Andreas Hindborg <a.hindborg@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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
>
>