Rewrite our 2G downgrade analyzer

This commit is contained in:
Will Greenberg
2025-01-17 12:33:14 -08:00
committed by Cooper Quintin
parent 26eda5904f
commit 12640cc878
4 changed files with 33 additions and 65 deletions

7
lib/src/analysis/util.rs Normal file
View File

@@ -0,0 +1,7 @@
macro_rules! unpack {
($pat:pat = $val:expr) => {
let $pat = $val else { return None; };
};
}
pub(crate) use unpack;