From 5a60cb2edf9d9c6db19f74d27033febbd5abfbd9 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 15 Apr 2026 12:23:01 +0800 Subject: Add #[doc(hidden)] to macro-generated structs --- mingling_macros/src/completion.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_macros/src/completion.rs') diff --git a/mingling_macros/src/completion.rs b/mingling_macros/src/completion.rs index 334affd..51e1cea 100644 --- a/mingling_macros/src/completion.rs +++ b/mingling_macros/src/completion.rs @@ -70,6 +70,7 @@ pub fn completion_attr(attr: TokenStream, item: TokenStream) -> TokenStream { // Generate the struct and implementation let expanded = quote! { #(#fn_attrs)* + #[doc(hidden)] #vis struct #struct_name; impl ::mingling::Completion for #struct_name { -- cgit