mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-28 08:29:58 -07:00
cargo fmt
This commit is contained in:
committed by
Cooper Quintin
parent
de4a622c68
commit
15c0ba3805
@@ -42,7 +42,7 @@ impl Analyzer for TestAnalyzer {
|
||||
let plmn = &sib1.cell_access_related_info.plmn_identity_list.0;
|
||||
let mcc_string: String;
|
||||
|
||||
// MCC are always 3 digits
|
||||
// MCC are always 3 digits
|
||||
if let Some(mcc) = &plmn[0].plmn_identity.mcc {
|
||||
mcc_string = format!("{}{}{}", mcc.0[0].0, mcc.0[1].0, mcc.0[2].0);
|
||||
} else {
|
||||
@@ -50,7 +50,7 @@ impl Analyzer for TestAnalyzer {
|
||||
}
|
||||
let mnc = &plmn[0].plmn_identity.mnc;
|
||||
let mnc_string: String;
|
||||
// MNC can be 2 or 3 digits
|
||||
// MNC can be 2 or 3 digits
|
||||
if mnc.0.len() == 3 {
|
||||
mnc_string = format!("{}{}{}", mnc.0[0].0, mnc.0[1].0, mnc.0[2].0);
|
||||
} else if mnc.0.len() == 2 {
|
||||
|
||||
Reference in New Issue
Block a user