use space after comma to conform to fmt

This commit is contained in:
rich-murphey 2021-02-12 04:00:53 -06:00 committed by Ryan Leckey
parent 1d5ca38e0d
commit 45a4f14f8c

View File

@ -54,8 +54,8 @@ macro_rules! read_packet {
read_packet!($(@$blocking)? @stream $self, 0, 5);
// peek at the messaage type and payload size
let r#type = MessageType::try_from((*$self.stream.get(0,1)s@))?;
let size = (u32::from_be_bytes($self.stream.get(1,4)) - 4) as usize;
let r#type = MessageType::try_from(*$self.stream.get(0, 1)s@)?;
let size = (u32::from_be_bytes($self.stream.get(1, 4)) - 4) as usize;
read_packet!($(@$blocking)? @stream $self, 5, size);