diff options
-rw-r--r-- | core/src/lib.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs index 566784c9..7935fa6d 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -332,15 +332,3 @@ impl From<u8> for IPCPolicy { } } } - -#[macro_export] -macro_rules! assert_match { - ( $error: pat = $expr:expr ) => { - let x = $expr; - if let $error = x { - /* Pass. */ - } else { - panic!("Expected {}, got {:?}.", stringify!($error), x); - } - }; -} |