We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
AFAIK there is currently no way to quote an operator such as + or /, and this would be useful to reduce code duplication.
+
/
Something like:
macro_rules! foo( ($oper:op) => 10i $oper 20i ) fn main() { printfln!("%d", foo!(+)); printfln!("%d", foo!(*)); }