mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
remove deprecated enum values
This commit is contained in:
parent
845f3dc77e
commit
1b96270598
1 changed files with 0 additions and 4 deletions
|
|
@ -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}")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue