aboutsummaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/struct.c b/struct.c
index 150ca20a39..cd6d05a552 100644
--- a/struct.c
+++ b/struct.c
@@ -1044,7 +1044,7 @@ rb_struct_equal(VALUE s, VALUE s2)
/*
* call-seq:
- * struct.hash -> fixnum
+ * struct.hash -> integer
*
* Returns a hash value based on this struct's contents (see Object#hash).
*
@@ -1110,8 +1110,8 @@ rb_struct_eql(VALUE s, VALUE s2)
/*
* call-seq:
- * struct.length -> fixnum
- * struct.size -> fixnum
+ * struct.length -> integer
+ * struct.size -> integer
*
* Returns the number of struct members.
*