Skip to content

Commit d17898b

Browse files
authored
Fix typo in Mint.WebSocket.new() function doc (#28)
1 parent e76205e commit d17898b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mint/web_socket.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ defmodule Mint.WebSocket do
309309
Mint.WebSocket.stream(conn, http_reply)
310310
311311
{:ok, conn, websocket} =
312-
Mint.WebSocket.new(:ws, conn, ref, status, resp_headers)
312+
Mint.WebSocket.new(conn, ref, status, resp_headers)
313313
```
314314
"""
315315
@spec new(

0 commit comments

Comments
 (0)