Le 21/05/2026 à 2:57 PM, Alvin Sun a écrit :
> Convert `use` imports to vertical layout for better readability and
> maintainability.
> 
> Signed-off-by: Alvin Sun <[email protected]>
> ---

Assuming this'll go in via the Rust tree, given there are other changers
to the rustdoc work which will likely go in that way. (But, if we'd
prefer it to go in via kselftest/kunit, that shouldn't be a problem.)

Acked-by: David Gow <[email protected]>

Cheers,
-- David

>  scripts/rustdoc_test_gen.rs | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/rustdoc_test_gen.rs b/scripts/rustdoc_test_gen.rs
> index d61a77219a8c2..ee76e96b41eea 100644
> --- a/scripts/rustdoc_test_gen.rs
> +++ b/scripts/rustdoc_test_gen.rs
> @@ -31,8 +31,15 @@
>  use std::{
>      fs,
>      fs::File,
> -    io::{BufWriter, Read, Write},
> -    path::{Path, PathBuf},
> +    io::{
> +        BufWriter,
> +        Read,
> +        Write, //
> +    },
> +    path::{
> +        Path,
> +        PathBuf, //
> +    }, //
>  };
>  
>  /// Find the real path to the original file based on the `file` portion of 
> the test name.
> 


Reply via email to