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

Miguel Ojeda posted 1 patch 1 month, 2 weeks ago
rust/macros/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rust: macros: indent list item in `module!`'s docs
Posted by Miguel Ojeda 1 month, 2 weeks ago
Like commit e516211f615f ("rust: macros: indent list item in `paste!`'s
docs"), but for `module!`.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
 rust/macros/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/macros/lib.rs b/rust/macros/lib.rs
index 159e75292970..5be0cb9db3ee 100644
--- a/rust/macros/lib.rs
+++ b/rust/macros/lib.rs
@@ -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
Re: [PATCH] rust: macros: indent list item in `module!`'s docs
Posted by Trevor Gross 1 month, 1 week ago
On Thu, Jul 25, 2024 at 2:47 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> Like commit e516211f615f ("rust: macros: indent list item in `paste!`'s
> docs"), but for `module!`.
>
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> ---
>  rust/macros/lib.rs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/rust/macros/lib.rs b/rust/macros/lib.rs
> index 159e75292970..5be0cb9db3ee 100644
> --- a/rust/macros/lib.rs
> +++ b/rust/macros/lib.rs
> @@ -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


Not much needing review here, but

Reviewed-by: Trevor Gross <tmgross@umich.edu>

:)
Re: [PATCH] rust: macros: indent list item in `module!`'s docs
Posted by Miguel Ojeda 1 month, 1 week ago
On Fri, Jul 26, 2024 at 1:06 PM Trevor Gross <tmgross@umich.edu> wrote:
>
> Not much needing review here, but
>
> Reviewed-by: Trevor Gross <tmgross@umich.edu>

Thanks Trevor :)

Applied to `rust-fixes`.

Cheers,
Miguel