]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: macros: indent list item in `module!`'s docs
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 25 Jul 2024 18:46:44 +0000 (20:46 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 29 Jul 2024 12:23:54 +0000 (14:23 +0200)
Like commit e516211f615f ("rust: macros: indent list item in `paste!`'s
docs"), but for `module!`.

Reviewed-by: Trevor Gross <tmgross@umich.edu>
Link: https://lore.kernel.org/r/20240725184644.135185-1-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/macros/lib.rs

index 159e75292970750e242e29cb9f5db5c327e83c15..5be0cb9db3ee490c1b01878f58b89ab758fcacac 100644 (file)
@@ -94,7 +94,7 @@ use proc_macro::TokenStream;
 ///   - `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)