aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_macros/src')
-rw-r--r--mingling_macros/src/dispatch_tree_gen.rs15
-rw-r--r--mingling_macros/src/dispatcher.rs5
-rw-r--r--mingling_macros/src/renderer.rs5
3 files changed, 0 insertions, 25 deletions
diff --git a/mingling_macros/src/dispatch_tree_gen.rs b/mingling_macros/src/dispatch_tree_gen.rs
index 3967aac..a2cd52c 100644
--- a/mingling_macros/src/dispatch_tree_gen.rs
+++ b/mingling_macros/src/dispatch_tree_gen.rs
@@ -1,18 +1,3 @@
-//! Dispatch Tree Generation
-//!
-//! This module generates the dispatch tree code for the `dispatch_tree` feature.
-//! It builds a compact, hardcoded match tree at compile time to achieve O(len)
-//! command dispatch.
-//!
-//! # Algorithm
-//!
-//! For each depth, group nodes by the character at that depth.
-//! - If a group has only one node: emit `starts_with` check for the full name.
-//! - If a group has multiple nodes: emit a `match raw_chars.nth(depth)` arm and recurse.
-//! - At the leaf: call `Dispatcher::begin` on the matched dispatcher.
-//!
-//! Names are matched with a trailing space (e.g. "hello ") to ensure exact boundary.
-
use proc_macro2::TokenStream;
use quote::quote;
use std::collections::BTreeMap;
diff --git a/mingling_macros/src/dispatcher.rs b/mingling_macros/src/dispatcher.rs
index ba36545..9724fd1 100644
--- a/mingling_macros/src/dispatcher.rs
+++ b/mingling_macros/src/dispatcher.rs
@@ -1,8 +1,3 @@
-//! Dispatcher Chain and Dispatcher Render Macros
-//!
-//! This module provides macros for creating dispatcher chain and dispatcher render structs
-//! with automatic implementations of the `Dispatcher` trait.
-
use proc_macro::TokenStream;
use proc_macro2::TokenStream as TokenStream2;
use quote::quote;
diff --git a/mingling_macros/src/renderer.rs b/mingling_macros/src/renderer.rs
index 565ffa3..36ebf54 100644
--- a/mingling_macros/src/renderer.rs
+++ b/mingling_macros/src/renderer.rs
@@ -1,8 +1,3 @@
-//! Renderer Attribute Macro Implementation
-//!
-//! This module provides the `#[renderer]` attribute macro for automatically
-//! generating structs that implement the `Renderer` trait from functions.
-
use proc_macro::TokenStream;
use quote::{ToTokens, quote};
use syn::spanned::Spanned;