diff options
Diffstat (limited to 'graph_macro/src/lib.rs')
| -rw-r--r-- | graph_macro/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graph_macro/src/lib.rs b/graph_macro/src/lib.rs index 3b7742a..409e6db 100644 --- a/graph_macro/src/lib.rs +++ b/graph_macro/src/lib.rs @@ -137,6 +137,8 @@ macro_rules! myerror { }; } +/// Derive macro generating an implementation of the trait `Graph` +/// inheriting a field. #[proc_macro_derive(Graph, attributes(graph))] pub fn graph_derive(input: TokenStream) -> TokenStream { let mut input = input.into_iter().peekable(); |
