From 6422bded12abdb150de747826a139a3b8cc67255 Mon Sep 17 00:00:00 2001 From: nwrenger Date: Fri, 2 Aug 2024 06:51:30 +0200 Subject: [PATCH] :wrench: Updated docs --- macros/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 6974b7d..54f84df 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -93,7 +93,8 @@ impl ToTokens for Route { } } -/// Put before structs or functions to be usable by the `glue` crate. +/// Put before structs or functions to generated metadata which will +/// be later used by the api via `extract!`. #[proc_macro_attribute] pub fn metadata(args: pc::TokenStream, input: pc::TokenStream) -> pc::TokenStream { match metadata_inner(args.into(), input.into()) {