diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-09 17:49:31 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-09 17:49:31 +0000 |
commit | e5839862e4ad6ac171319629f5a593789f8380c4 (patch) | |
tree | 3a370c70d1598f861ea9f7328a7b793b12201c02 /gc.c | |
parent | 705f9a7e809d47fa7e4e94196c2ffd1e5a74dd1e (diff) | |
download | ruby-e5839862e4ad6ac171319629f5a593789f8380c4.tar.gz |
* gc.c: Oups, symbols are immediates too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2343,7 +2343,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: - * +nil+, +true+, +false+, Fixnums. Some Floats may be immediates too. + * +nil+, +true+, +false+, Fixnums, Symbols. Some Floats may be immediates too. * * Object.new.object_id == Object.new.object_id # => false * (21 * 2).object_id == (21 * 2).object_id # => true |