Skip to content

Commit

Permalink
🐛 修复拼写问题
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Dec 22, 2023
1 parent 4217678 commit ad50201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub enum OblivionException {
ConnectionRefusedError(Option<String>),
InvalidOblivion(Option<String>),
AddressAlreadyInUse(Option<String>),
UnexceptedDisconnection(Option<String>),
UnexpectedDisconnection(Option<String>),
BadBytes(Option<String>),
ConnectTimedOut(Option<String>),
DataTooLarge(Option<String>),
Expand Down Expand Up @@ -48,7 +48,7 @@ impl core::fmt::Display for OblivionException {
Self::AddressAlreadyInUse(info) => {
OblivionException::write_error(f, "AddressAlreadyInUse", info)
}
Self::UnexceptedDisconnection(info) => {
Self::UnexpectedDisconnection(info) => {
OblivionException::write_error(f, "UnexceptedDisconnection", info)
}
Self::BadBytes(info) => OblivionException::write_error(f, "BadBytes", info),
Expand Down

0 comments on commit ad50201

Please sign in to comment.