summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 0179e202fc..f522a8ae41 100644
--- a/range.c
+++ b/range.c
@@ -539,7 +539,7 @@ is_integer_p(VALUE v)
*
* - the block returns false for any value which is less than x, and
* - the block returns true for any value which is greater than or
- * equal to i.
+ * equal to x.
*
* If x is within the range, this method returns the value x.
* Otherwise, it returns nil.