diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-18 17:48:52 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-18 17:48:52 -0700 |
| commit | dae2cb77b407044f44a7a2790d93efba3891854e (patch) | |
| tree | bef263c4490536cf8b56e988e71dd1aa43bc2696 /src/error.rs | |
| parent | Fix compiles of a variety of feature combinations (diff) | |
| download | serenity-dae2cb77b407044f44a7a2790d93efba3891854e.tar.xz serenity-dae2cb77b407044f44a7a2790d93efba3891854e.zip | |
Apply rustfmt
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs index 3944a4c..508578b 100644 --- a/src/error.rs +++ b/src/error.rs @@ -171,8 +171,7 @@ impl Display for Error { impl StdError for Error { fn description(&self) -> &str { match *self { - Error::Decode(msg, _) | - Error::Other(msg) => msg, + Error::Decode(msg, _) | Error::Other(msg) => msg, Error::ExceededLimit(..) => "Input exceeded a limit", Error::Format(ref inner) => inner.description(), Error::Io(ref inner) => inner.description(), |