Skip to content

Commit

Permalink
🔧 Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Aug 2, 2024
1 parent 72c12cc commit 6422bde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 6422bde

Please sign in to comment.