aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/help.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_macros/src/help.rs')
-rw-r--r--mingling_macros/src/help.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/mingling_macros/src/help.rs b/mingling_macros/src/help.rs
index 7943270..315483d 100644
--- a/mingling_macros/src/help.rs
+++ b/mingling_macros/src/help.rs
@@ -1,22 +1,3 @@
-//! Help Attribute Macro
-//!
-//! This module provides the `#[help]` attribute macro for automatically
-//! generating structs that implement the `HelpRequest` trait from functions.
-//!
-//! # Syntax
-//!
-//! ```rust,ignore
-//! #[help]
-//! fn help_my_entry(prev: MyEntry) {
-//! // use r_println! here
-//! r_println!("Help: ...");
-//! }
-//! ```
-//!
-//! This expands to:
-//! - A struct `HelpMyEntry` implementing `HelpRequest` with `Entry = MyEntry`
-//! - The original function with injected `RenderResult` dummy context
-
use proc_macro::TokenStream;
use quote::{ToTokens, quote};
use syn::spanned::Spanned;