Re: [PATCH] rust: macros: add descriptive doc-comment to internal fmt function
From: MBKCHEL
Date: Fri Nov 13 2026 - 15:34:38 EST
Hi,
Friendly ping on this patch.
Thanks,
Ivan
чт, 29 окт. 2026 г. в 17:02, Ivan Tverdokhleb <mbkchelofficialdev@xxxxxxxxx>:
>
> Add descriptive documentation comments to the internal formatting function,
>
> explaining its role in parsing format strings and wrapping arguments into
>
> the Adapter helper.
>
> Signed-off-by: Ivan Tverdokhleb <mbkchelofficialdev@xxxxxxxxx>
> ---
> rust/macros/fmt.rs | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/rust/macros/fmt.rs b/rust/macros/fmt.rs
> index ce6c72493..676156dc9 100644
> --- a/rust/macros/fmt.rs
> +++ b/rust/macros/fmt.rs
> @@ -6,6 +6,9 @@
> use quote::quote_spanned;
>
> /// Please see [`crate::fmt`] for documentation.
> +///
> +/// This function parses the format string, extracts named arguments from curly braces,
> +/// and wraps arguments into the `Adapter` helper.
> pub(crate) fn fmt(input: TokenStream) -> TokenStream {
> let mut input = input.into_iter();
>
> --
> 2.56.0
>