2 ms·
This is a function invocation: foo(bar) This is a macro invocation: foo!(bar) It's done this way because macros can have much more complex things in
by steveklabnik 7y ago
This is a function invocation:
foo(bar)
This is a macro invocation:
foo!(bar)
It's done this way because macros can have much more complex things inside the ()s than functions can. This helps both humans and computers parse such things.