aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/completion.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-15 12:23:01 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-15 12:23:01 +0800
commit5a60cb2edf9d9c6db19f74d27033febbd5abfbd9 (patch)
tree695ce3a0678c0d7dff348fe82b871ff037641ae6 /mingling_macros/src/completion.rs
parent9f3ceb1419f5e72fe684ae6e64568e3a14c6013c (diff)
Add #[doc(hidden)] to macro-generated structs
Diffstat (limited to 'mingling_macros/src/completion.rs')
-rw-r--r--mingling_macros/src/completion.rs1
1 files changed, 1 insertions, 0 deletions
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 {