summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 6490ab084f..dbd7082540 100644
--- a/hash.c
+++ b/hash.c
@@ -3217,7 +3217,7 @@ env_update(VALUE env, VALUE hash)
* and <code>eql?</code> methods are overridden to provide meaningful
* behavior. By default, separate instances refer to separate hash keys.
*
- * A typical implementation of <code>hash</code> is based on the
+ * A typical implementation of <code>hash</code> is based on the
* object's data while <code>eql?</code> is usually aliased to the overridden
* <code>==</code> method:
*
@@ -3231,7 +3231,7 @@ env_update(VALUE env, VALUE hash)
*
* def ==(other)
* self.class === other and
- * other.author == @author and
+ * other.author == @author and
* other.title == @title
* end
*