summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorRick Hull <rick.hull@gmail.com>2023-01-15 15:11:08 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-01-16 08:00:03 +0900
commit4617b40f8b8383554bf1d30c0699298b357b2011 (patch)
treefb11568da7af9499e897f126125347144b154dd7 /ext/socket
parent6698b580ddad8cfa8c5c86df9328472820d3ee6a (diff)
fix typo in comments / autodoc
replace _socktype_ with _type_ in the comments
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7127
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/unixsocket.c2
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.