diff options
author | Rick Hull <rick.hull@gmail.com> | 2023-01-15 15:11:08 -0500 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-01-16 08:00:03 +0900 |
commit | 4617b40f8b8383554bf1d30c0699298b357b2011 (patch) | |
tree | fb11568da7af9499e897f126125347144b154dd7 /ext | |
parent | 6698b580ddad8cfa8c5c86df9328472820d3ee6a (diff) | |
download | ruby-4617b40f8b8383554bf1d30c0699298b357b2011.tar.gz |
fix typo in comments / autodoc
replace _socktype_ with _type_ in the comments
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/unixsocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/unixsocket.c b/ext/socket/unixsocket.c index 26ab76fc9f..a8475e3e60 100644 --- a/ext/socket/unixsocket.c +++ b/ext/socket/unixsocket.c @@ -540,7 +540,7 @@ unix_peeraddr(VALUE sock) * * Creates a pair of sockets connected to each other. * - * _socktype_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc. + * _type_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc. * * _protocol_ should be a protocol defined in the domain. * 0 is default protocol for the domain. |