From 1b96270598c0d7b19564b2f8eb28782883e0c7c7 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 24 Mar 2025 22:38:07 +0200 Subject: [PATCH] remove deprecated enum values --- src/client/connection/response/input/error.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/connection/response/input/error.rs b/src/client/connection/response/input/error.rs index bcb7f8a..6763727 100644 --- a/src/client/connection/response/input/error.rs +++ b/src/client/connection/response/input/error.rs @@ -4,7 +4,6 @@ use std::fmt::{Display, Formatter, Result}; pub enum Error { Default(super::default::Error), FirstByte(u8), - Protocol, SecondByte(u8), Sensitive(super::sensitive::Error), UndefinedFirstByte, @@ -20,9 +19,6 @@ impl Display for Error { Self::FirstByte(b) => { write!(f, "Unexpected first byte: {b}") } - Self::Protocol => { - write!(f, "Protocol error") - } Self::SecondByte(b) => { write!(f, "Unexpected second byte: {b}") }