mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 23:49:59 -07:00
Rewrite our 2G downgrade analyzer
This commit is contained in:
committed by
Cooper Quintin
parent
26eda5904f
commit
12640cc878
7
lib/src/analysis/util.rs
Normal file
7
lib/src/analysis/util.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
macro_rules! unpack {
|
||||
($pat:pat = $val:expr) => {
|
||||
let $pat = $val else { return None; };
|
||||
};
|
||||
}
|
||||
|
||||
pub(crate) use unpack;
|
||||
Reference in New Issue
Block a user