summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-12-14 19:06:17 +0000
committerNobuyoshi Nakada <[email protected]>2024-12-15 15:36:08 +0900
commite9926afb24d00ffd721c39d535a3b91cb8a0ea56 (patch)
treed69cf5ce9e53f776ad0f450d1b294aa4d163ef46 /ext/socket/socket.c
parente08e168a57dde3b76d3de380fa167e58fce6acdd (diff)
Fix broken links to `Socket.tcp_fast_fallback=`
Since it's a singleton method, it should be referenced as `Socket.tcp_fast_fallback=`, not `Socket#tcp_fast_fallback=`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12348
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 2713ef3735..8f593ca0bd 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -1870,7 +1870,7 @@ socket_s_ip_address_list(VALUE self)
* If false, Happy Eyeballs Version 2 is disabled.
*
* For details on Happy Eyeballs Version 2,
- * see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket#tcp_fast_fallback=].
+ * see {Socket.tcp_fast_fallback=}[rdoc-ref:Socket.tcp_fast_fallback=].
*/
VALUE socket_s_tcp_fast_fallback(VALUE self) {
return rb_ivar_get(rb_cSocket, tcp_fast_fallback);