diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-25 21:31:12 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-25 21:56:22 +0200 |
| commit | 0170913d5413aab4c1f2bd7d56b9b7138f676012 (patch) | |
| tree | fbe77af9ac3c3cfa63ffde3d861987e8d1276ac5 /macros | |
| parent | b6b6e3692404e32873892810bebeb1122f34c52e (diff) | |
Rebrand queries as memoization
Diffstat (limited to 'macros')
| -rw-r--r-- | macros/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs index 49623834..029a1adb 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -8,6 +8,7 @@ use syn::punctuated::Punctuated; use syn::spanned::Spanned; use syn::{Error, Ident, Result}; +/// Turn a struct into a node / a function with settable properties. #[proc_macro_attribute] pub fn node(stream: TokenStream, item: TokenStream) -> TokenStream { let impl_block = syn::parse_macro_input!(item as syn::ItemImpl); |
