How do I call the procedural version of vec?
Opened this issue · 1 comments
kpp commented
proc-macro-rules/examples/macro_rules.rs
Line 35 in a39acd9
There is an example how to write it, but there is no example how to call it in the code.
nrc commented
exactly the same way as the macro_rules version, but you will need to enable a feature (proc_macro_hygiene
or something similar) and import the macro.
Would be good to document this, I suppose