Browse Source

Fix a typo in a type in the documentation

Loïc Hoguin 7 years ago
parent
commit
794a816814
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/src/manual/ranch_transport.asciidoc

+ 1 - 1
doc/src/manual/ranch_transport.asciidoc

@@ -165,7 +165,7 @@ or to set protocol-specific options.
 === getopts(CSocket, SockOpts) -> {ok, SockOptValues} | {error, atom()}
 
 CSocket = any():: Socket for this connection.
-SockOpts = [atom]:: Socket option names.
+SockOpts = [atom()]:: Socket option names.
 SockOptValues = list():: Socket options.
 
 Get options for the given socket.