summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2025-12-21 00:32:30 +0000
committerPeter Zhu <peter@peterzhu.ca>2025-12-20 21:24:37 -0500
commite2243ed232d6a67e4a3e84e30e82b792a39b21e0 (patch)
tree908fa28f3091ae1bb64d63c6c991f9a0097e91cf /string.c
parent483ef3a0d2a6c097ca1606c5cb4a0fae8f3d4f43 (diff)
[DOC] Correct typo
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 8c7c82c10f..b70cee020d 100644
--- a/string.c
+++ b/string.c
@@ -12383,7 +12383,7 @@ sym_succ(VALUE sym)
*
* Returns:
*
- * - <tt>symbol.to_s <=> other.to_s</tt>, if +other+ is a symbol.
+ * - <tt>self.to_s <=> other.to_s</tt>, if +other+ is a symbol.
* - +nil+, otherwise.
*
* Examples: