diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vrrpv2.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vrrpv2.rs b/src/vrrpv2.rs index 8adf7f0..a863cb4 100644 --- a/src/vrrpv2.rs +++ b/src/vrrpv2.rs @@ -56,11 +56,7 @@ impl std::fmt::Display for VRRPv2Error { } } -impl From<std::io::Error> for VRRPv2Error { - fn from(_err: std::io::Error) -> VRRPv2Error { - VRRPv2Error::ParseError - } -} +impl std::error::Error for VRRPv2Error {} impl From<std::io::Error> for VRRPv2Error { fn from(_err: std::io::Error) -> VRRPv2Error { |