From 837f273d0b06c8ca202fa3d61ca475d50a0a96fb Mon Sep 17 00:00:00 2001 From: Sunil Nimmagadda Date: Sun, 15 Jun 2025 16:43:42 +0530 Subject: shorten imports. --- src/vrrpv2.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs index ad68e6e..539d67f 100644 --- a/src/vrrpv2.rs +++ b/src/vrrpv2.rs @@ -1,5 +1,4 @@ -use std::io::{self, Cursor}; -use std::io::{Read, Write}; +use std::io::{self, Cursor, Read, Write}; use std::net::Ipv4Addr; /// A VRRP version 2 packet. @@ -58,7 +57,7 @@ impl std::fmt::Display for VRRPv2Error { impl std::error::Error for VRRPv2Error {} -impl From for VRRPv2Error { +impl From for VRRPv2Error { fn from(_err: std::io::Error) -> VRRPv2Error { VRRPv2Error::ParseError } -- cgit v1.2.3