From 0d00405fd4b5ed4a3759c7ae122058bc7adbbddd Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Mon, 29 Sep 2025 02:04:11 +0530 Subject: Indent a bit. --- src/vrrpv2.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs index 3e714fa..57f692a 100644 --- a/src/vrrpv2.rs +++ b/src/vrrpv2.rs @@ -108,11 +108,11 @@ impl VRRPv2 { macro_rules! read_be { ( $( $fname:ident => $type:ty ),+ $(,)? ) => { $( - fn $fname(cursor: &mut Cursor<&[u8]>) -> io::Result<$type> { - let mut buffer = [0; size_of::<$type>()]; - cursor.read_exact(&mut buffer)?; - Ok(<$type>::from_be_bytes(buffer)) - } + fn $fname(cursor: &mut Cursor<&[u8]>) -> io::Result<$type> { + let mut buffer = [0; size_of::<$type>()]; + cursor.read_exact(&mut buffer)?; + Ok(<$type>::from_be_bytes(buffer)) + } )+ }; } -- cgit v1.2.3