You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before implementing this, I want to figure out an idiomatic way to print the macro arguments after prefixing them with some string. The subterfuge implementation uses a clunky print! followed by a println!. I want to do better for arcconfig.
Resolves: #18
This allows invocations of `error_msg` to be a little cleaner. Before,
invocations looked like `error_msg(&format(str))` but the string
formatting is now "baked in" to the new macro. Invocations can now
resemble `error_msg!(str)`.
Check out this StackOverflow discussion that talks about creating a custom
format!
style macro! I just did this for Subterfuge :3Changing the symbol name is a good idea, too. Get a verb in there! Even something long like
print_error!
would be an improvement.The text was updated successfully, but these errors were encountered: