Skip to content

Commit e861d69

Browse files
committed
fmt
1 parent 8adbefc commit e861d69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/result.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ impl fmt::Display for WebSocketOtherError {
6666
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
6767
match self {
6868
WebSocketOtherError::RequestError(e) => write!(fmt, "WebSocket request error: {}", e)?,
69-
WebSocketOtherError::ResponseError(e) => write!(fmt, "WebSocket response error: {}", e)?,
69+
WebSocketOtherError::ResponseError(e) => {
70+
write!(fmt, "WebSocket response error: {}", e)?
71+
}
7072
WebSocketOtherError::StatusCodeError(e) => write!(
7173
fmt,
7274
"WebSocketError: Received unexpected status code ({})",

0 commit comments

Comments
 (0)