aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib/src
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-11-05 02:35:15 +0100
committerEskil Queseth <eskilq@kth.se>2020-11-05 02:35:15 +0100
commit0220f0372937ed179aa84fa6e2250933cd3e3896 (patch)
tree8f3e8fa198747aa260128951eccd54994ca1fdb5 /mumlib/src
parent6b31f9e636059627a537e0dfb8ccb721296763f3 (diff)
downloadmum-0220f0372937ed179aa84fa6e2250933cd3e3896.tar.gz
remove redundancy in mumlib
Diffstat (limited to 'mumlib/src')
-rw-r--r--mumlib/src/error.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/mumlib/src/error.rs b/mumlib/src/error.rs
index 5b82fbd..1e79b9c 100644
--- a/mumlib/src/error.rs
+++ b/mumlib/src/error.rs
@@ -9,7 +9,6 @@ pub enum Error {
DisconnectedError,
AlreadyConnectedError,
ChannelIdentifierError(String, ChannelIdentifierError),
- InvalidUserIdentifierError(String),
InvalidServerAddrError(String, u16),
InvalidUsernameError(String),
}
@@ -23,7 +22,6 @@ impl Display for Error {
Error::InvalidServerAddrError(addr, port) => {
write!(f, "Invalid server address: {}: {}", addr, port)
}
- Error::InvalidUserIdentifierError(name) => write!(f, "Invalid username: {}", name),
Error::InvalidUsernameError(username) => write!(f, "Invalid username: {}", username),
}
}