aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 612a062c73..00ba81630e 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4035,10 +4035,10 @@ rb_int_rshift(VALUE x, VALUE y)
/*
* Document-method: Integer#[]
* call-seq:
- * fix[n] -> 0, 1
+ * int[n] -> 0, 1
*
* Bit Reference---Returns the +n+th bit in the binary representation of
- * +fix+, where <code>fix[0]</code> is the least significant bit.
+ * +int+, where <code>int[0]</code> is the least significant bit.
*
* For example:
*