Skip to content

Commit 23a0f72

Browse files
committed
cargo fmt
1 parent efae620 commit 23a0f72

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/src/analysis/information_element.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
//! standard.
55
66
use crate::gsmtap::{GsmtapMessage, GsmtapType, LteNasSubtype, LteRrcSubtype};
7-
use telcom_parser::{decode, lte_rrc};
87
use pycrate_rs::nas::NASMessage;
8+
use telcom_parser::{decode, lte_rrc};
99
use thiserror::Error;
1010

1111
#[derive(Error, Debug)]
@@ -93,7 +93,9 @@ impl TryFrom<&GsmtapMessage> for InformationElement {
9393
}
9494
GsmtapType::LteNas(LteNasSubtype::Plain) => {
9595
let msg = NASMessage::parse(&gsmtap_msg.payload)?;
96-
Ok(InformationElement::LTE(Box::new(LteInformationElement::NAS(msg))))
96+
Ok(InformationElement::LTE(Box::new(
97+
LteInformationElement::NAS(msg),
98+
)))
9799
}
98100
_ => Err(InformationElementError::UnsupportedGsmtapType(
99101
gsmtap_msg.header.gsmtap_type,

0 commit comments

Comments
 (0)