Skip to contentSkip to conversation

rust: macros: indent list item in `module!`'s docs

PATCH Applied Miguel Ojeda 3 participants 3 messages Jul 25, 2024 – Jul 29, 2024 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

PATCH 1/1 rust: macros: indent list item in `module!`'s docs

Like commit e516211f615f ("rust: macros: indent list item in paste!'s docs"), but for module!.

---
 rust/macros/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/macros/lib.rs +1 -1
index 159e75292970..5be0cb9db3ee 100644
@@ -94,7 +94,7 @@
 ///   - `license`: ASCII string literal of the license of the kernel module (required).
 ///   - `alias`: array of ASCII string literals of the alias names of the kernel module.
 ///   - `firmware`: array of ASCII string literals of the firmware files of
-/// the kernel module.
+///     the kernel module.
 #[proc_macro]
 pub fn module(ts: TokenStream) -> TokenStream {
     module::module(ts)

base-commit: b1263411112305acf2af728728591465becb45b0 --
2.45.2

reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Miguel Ojeda

Like commit e516211f615f ("rust: macros: indent list item in paste!'s docs"), but for module!.

---
 rust/macros/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/macros/lib.rs +1 -1
index 159e75292970..5be0cb9db3ee 100644
@@ -94,7 +94,7 @@
 ///   - `license`: ASCII string literal of the license of the kernel module (required).
 ///   - `alias`: array of ASCII string literals of the alias names of the kernel module.
 ///   - `firmware`: array of ASCII string literals of the firmware files of
-/// the kernel module.
+///     the kernel module.
 #[proc_macro]
 pub fn module(ts: TokenStream) -> TokenStream {
     module::module(ts)
Quoted 3 lines

base-commit: b1263411112305acf2af728728591465becb45b0 --
2.45.2

Not much needing review here, but

:)