diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-01-20 08:12:26 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-01-20 08:23:44 +0100 |
commit | 962da640699a09d3a1d685a1573f32cd84d516c9 (patch) | |
tree | 4ea57a42cbfde44b476c7642a3a32c4a5da4df1f | |
parent | 85fdd6032f45f12f5c5fc68354f085e4d1301f78 (diff) |
core: Drop unused macro.
-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); - } - }; -} |