summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2025-08-21 08:37:19 -0500
committerGitHub <noreply@github.com>2025-08-21 09:37:19 -0400
commit027f4aa464f92cb4884561ef277db20f8eff5732 (patch)
tree64900fff818ec2f05af69b7295ef3c47247128c4 /string.c
parentb6bf44ae0f0196c58a07e13ac1bd7adafd13f8b2 (diff)
[DOC] Tweaks for String#hash (#14253)
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/string.c b/string.c
index d9d8678c71..0329d2845a 100644
--- a/string.c
+++ b/string.c
@@ -4133,10 +4133,8 @@ rb_str_hash_cmp(VALUE str1, VALUE str2)
* call-seq:
* hash -> integer
*
- * Returns the integer hash value for +self+.
- * The value is based on the length, content and encoding of +self+.
+ * :include: doc/string/hash.rdoc
*
- * Related: Object#hash.
*/
static VALUE