Run rustfmt.
This commit is contained in:
parent
3b383d78b7
commit
0b75d2f1c3
@ -72,8 +72,12 @@ impl Display for Error {
|
|||||||
InnerError::Hyper(_) => "A Hyper error occurred.".into(),
|
InnerError::Hyper(_) => "A Hyper error occurred.".into(),
|
||||||
InnerError::Io(_) => "An I/O error occurred.".into(),
|
InnerError::Io(_) => "An I/O error occurred.".into(),
|
||||||
InnerError::SerdeJson(_) => "A JSON error occurred.".into(),
|
InnerError::SerdeJson(_) => "A JSON error occurred.".into(),
|
||||||
InnerError::SerdeUrlEncodedDe(_) => "A URL encoding deserialization error occurred.".into(),
|
InnerError::SerdeUrlEncodedDe(_) => {
|
||||||
InnerError::SerdeUrlEncodedSer(_) => "A URL encoding serialization error occurred.".into(),
|
"A URL encoding deserialization error occurred.".into()
|
||||||
|
}
|
||||||
|
InnerError::SerdeUrlEncodedSer(_) => {
|
||||||
|
"A URL encoding serialization error occurred.".into()
|
||||||
|
}
|
||||||
InnerError::RumaIdentifiers(_) => "A ruma-identifiers error occurred.".into(),
|
InnerError::RumaIdentifiers(_) => "A ruma-identifiers error occurred.".into(),
|
||||||
InnerError::StatusCode(code) => format!("A HTTP {} error occurred.", code),
|
InnerError::StatusCode(code) => format!("A HTTP {} error occurred.", code),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user