Created
February 18, 2019 07:26
-
-
Save Fullstop000/1735b06f10f3fc34bc17dcc8f0882db3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_export] | |
macro_rules! invarint { | |
($condition:expr, $($arg:tt)*) => { | |
if !$condition { | |
panic!($($arg)*); | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment