summaryrefslogtreecommitdiff
path: root/ext/websocket/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/websocket/lib.rs')
-rw-r--r--ext/websocket/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs
index 9358fb4b0..3384a8f9c 100644
--- a/ext/websocket/lib.rs
+++ b/ext/websocket/lib.rs
@@ -334,7 +334,7 @@ where
.map_err(|err| {
DomExceptionNetworkError::new(&format!(
"failed to connect to WebSocket: {}",
- err.to_string()
+ err
))
})?;