From 5781352058758151d44e827b49bf3c9c552013b4 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 15 Mar 2022 08:34:40 +0000 Subject: [PATCH] Remove unused macros --- lib/src/mac/mod.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/src/mac/mod.rs b/lib/src/mac/mod.rs index 8b57ece5..9e169717 100644 --- a/lib/src/mac/mod.rs +++ b/lib/src/mac/mod.rs @@ -11,19 +11,3 @@ macro_rules! map { m }}; } - -macro_rules! hmap { - ($($k:expr => $v:expr),* $(,)?) => {{ - let mut m = ::std::collections::HashMap::new(); - $(m.insert($k, $v);)+ - m - }}; -} - -macro_rules! bmap { - ($($k:expr => $v:expr),* $(,)?) => {{ - let mut m = ::std::collections::BTreeMap::new(); - $(m.insert($k, $v);)+ - m - }}; -}