summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 7fb354b433..02d2474bc2 100644
--- a/string.c
+++ b/string.c
@@ -4090,9 +4090,9 @@ rb_str_getbyte(VALUE str, VALUE index)
/*
* call-seq:
- * str.setbyte(index, int) -> int
+ * str.setbyte(index, integer) -> integer
*
- * modifies the <i>index</i>th byte as <i>int</i>.
+ * modifies the <i>index</i>th byte as <i>integer</i>.
*/
static VALUE
rb_str_setbyte(VALUE str, VALUE index, VALUE value)