summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 61f93c4f01..0e33c0f4ba 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3775,7 +3775,7 @@ rb_enc_uint_chr(unsigned int code, rb_encoding *enc)
* represented by the value of +self+, according to the given +encoding+.
*
* 65.chr # => "A"
- * 0..chr # => "\x00"
+ * 0.chr # => "\x00"
* 255.chr # => "\xFF"
* string = 255.chr(Encoding::UTF_8)
* string.encoding # => Encoding::UTF_8