summaryrefslogtreecommitdiff
path: root/engine-macros/src/lib.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-06-17 19:41:11 +0200
committerHampusM <hampus@hampusmat.com>2026-06-17 19:41:11 +0200
commit8848cd0732a7656a2e0913e63d224618082f21df (patch)
treeb4d49de70254840224099279a48c679f0c88012e /engine-macros/src/lib.rs
parentf82a35702cb85da7ace298960024b773a2da6d85 (diff)
feat(engine-macros): improve flexibility of Reflection macro on generic typesHEADmaster
Diffstat (limited to 'engine-macros/src/lib.rs')
-rw-r--r--engine-macros/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-macros/src/lib.rs b/engine-macros/src/lib.rs
index 5d16ad2..deddd15 100644
--- a/engine-macros/src/lib.rs
+++ b/engine-macros/src/lib.rs
@@ -3,7 +3,7 @@
mod reflection;
mod util;
-#[proc_macro_derive(Reflection)]
+#[proc_macro_derive(Reflection, attributes(reflection))]
pub fn reflection_derive(input: proc_macro::TokenStream) -> proc_macro::TokenStream
{
reflection::derive(input.into()).into()