summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-10 04:13:04 +0000
committertmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-10 04:13:04 +0000
commit9bfaeffd53d4e17b0a24281e244e2483f28f5827 (patch)
treeaf558e43e84f2245f05a8b9e50aef6069e8672c3
parentd31cd06516c01a6a2003bca7750da05d86bca7c8 (diff)
gc.c: fix doc typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 4bccc300376..d46775cef15 100644
--- a/gc.c
+++ b/gc.c
@@ -2342,7 +2342,7 @@ id2ref(VALUE obj, VALUE objid)
*
* Note that some objects of builtin classes are reused for optimization.
* This is the case for immediate values and frozen string litterals.
- * Immediate values are not passed by reference by are passed by value:
+ * Immediate values are not passed by reference but are passed by value:
* +nil+, +true+, +false+, Fixnums, Symbols. Some Floats may be immediates too.
*
* Object.new.object_id == Object.new.object_id # => false