diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-11-05 00:44:48 +0100 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-11-05 00:44:48 +0100 |
| commit | 7a4e0c79be76444a8f3a8d4019175a8eb84d333e (patch) | |
| tree | ff4277bdeafd4aaf1c18a6d80c14ddc1c529ac89 /mumlib/src/error.rs | |
| parent | 22579ced3d1d847a14683fe3b47fa2076df01751 (diff) | |
| download | mum-7a4e0c79be76444a8f3a8d4019175a8eb84d333e.tar.gz | |
cargo fmt
Diffstat (limited to 'mumlib/src/error.rs')
| -rw-r--r-- | mumlib/src/error.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mumlib/src/error.rs b/mumlib/src/error.rs index c9eff52..5b82fbd 100644 --- a/mumlib/src/error.rs +++ b/mumlib/src/error.rs @@ -20,7 +20,9 @@ impl Display for Error { Error::DisconnectedError => write!(f, "Not connected to a server"), Error::AlreadyConnectedError => write!(f, "Already connected to a server"), Error::ChannelIdentifierError(id, kind) => write!(f, "{}: {}", kind, id), - Error::InvalidServerAddrError(addr, port) => write!(f, "Invalid server address: {}: {}", addr, port), + 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), } |
