summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-10-02 13:55:43 -0400
committerPeter Zhu <[email protected]>2024-10-03 09:28:13 -0400
commitf56be4286f70734ead11b316b85f504ca5b6c6dc (patch)
treea4696d883c04c03fc9cff8cfce70e071ea0d3dc9 /compar.c
parent66124cdb17f5152e7b1b269ca62be1773b127b2b (diff)
[DOC] Add pound sign before all <=> methods
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11769
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compar.c b/compar.c
index 081b4e2dea..8d7a208185 100644
--- a/compar.c
+++ b/compar.c
@@ -293,7 +293,7 @@ cmp_clamp(int argc, VALUE *argv, VALUE x)
*
* == What's Here
*
- * \Module \Comparable provides these methods, all of which use method <tt><=></tt>:
+ * \Module \Comparable provides these methods, all of which use method <tt>#<=></tt>:
*
* - #<: Returns whether +self+ is less than the given object.
* - #<=: Returns whether +self+ is less than or equal to the given object.