Skip to content

Commit 8adbefc

Browse files
Enet4peddermaster2
andauthored
Update src/result.rs
Fix response => response display message Co-Authored-By: Peter W <[email protected]>
1 parent 100e4eb commit 8adbefc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ 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 request error: {}", e)?,
69+
WebSocketOtherError::ResponseError(e) => write!(fmt, "WebSocket response error: {}", e)?,
7070
WebSocketOtherError::StatusCodeError(e) => write!(
7171
fmt,
7272
"WebSocketError: Received unexpected status code ({})",

0 commit comments

Comments
 (0)