From 581444617f4b24edd3ea9d5f126d747a037ea680 Mon Sep 17 00:00:00 2001 From: Gtker Date: Mon, 26 Feb 2024 15:32:07 +0100 Subject: [PATCH] login: Remove InvalidProtocolVersion error enumerator --- wow_login_messages/src/errors.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/wow_login_messages/src/errors.rs b/wow_login_messages/src/errors.rs index dd97f42818..50d4afbb39 100644 --- a/wow_login_messages/src/errors.rs +++ b/wow_login_messages/src/errors.rs @@ -133,7 +133,6 @@ impl From for ExpectedOpcodeError { #[derive(Debug)] pub enum CollectiveError { - InvalidProtocolVersion, InvalidFieldSet, Io(std::io::Error), } @@ -141,7 +140,6 @@ pub enum CollectiveError { impl Display for CollectiveError { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { match self { - CollectiveError::InvalidProtocolVersion => write!(f, "invalid protocol version"), CollectiveError::InvalidFieldSet => write!(f, "invalid field set in struct"), CollectiveError::Io(i) => i.fmt(f), }