mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 15:39:59 -07:00
chore: cargo fmt
This commit is contained in:
committed by
Will Greenberg
parent
151e186ef9
commit
9fe75ac961
@@ -10,9 +10,9 @@ pub enum ParsingError {
|
||||
}
|
||||
|
||||
pub fn decode<T>(data: &[u8]) -> Result<T, ParsingError>
|
||||
where T: UperCodec<Output = T>
|
||||
where
|
||||
T: UperCodec<Output = T>,
|
||||
{
|
||||
let mut asn_data = PerCodecData::from_slice_uper(data);
|
||||
T::uper_decode(&mut asn_data)
|
||||
.map_err(ParsingError::UperDecodeError)
|
||||
T::uper_decode(&mut asn_data).map_err(ParsingError::UperDecodeError)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
This file was autogenerated using hampi (https://github.com/ystero-dev/hampi), do not modify!
|
||||
|
||||
This place is not a place of honor...
|
||||
|
||||
Reference in New Issue
Block a user