From 409d09194c4a405af555464777e903e73a13ab78 Mon Sep 17 00:00:00 2001 From: Alvin Sun Date: Thu, 21 May 2026 14:57:13 +0800 Subject: rust: doctest: use vertical import style Convert `use` imports to vertical layout for better readability and maintainability. Signed-off-by: Alvin Sun Acked-by: David Gow Link: https://patch.msgid.link/20260521-miscdev-use-format-v3-7-56240ca70d0c@linux.dev Signed-off-by: Miguel Ojeda --- scripts/rustdoc_test_gen.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/rustdoc_test_gen.rs b/scripts/rustdoc_test_gen.rs index d61a77219a8c..ee76e96b41ee 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. -- cgit