summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-03 17:46:28 +0000
commit3b50d03ae9c188fdb90ee7a625ba155f665aa8e0 (patch)
tree6c83191a7891bfb4449e4c61bcf944ae968319b7 /gc.c
parent719e53d806d4ccc8ff28206dfb98cc8e75a2b3c1 (diff)
downloadruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.tar.gz
ruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.tar.xz
ruby-3b50d03ae9c188fdb90ee7a625ba155f665aa8e0.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gc.c b/gc.c
index 737b124b1..77111011e 100644
--- a/gc.c
+++ b/gc.c
@@ -2307,7 +2307,7 @@ Init_heap(void)
* sample_callback(void *vstart, void *vend, int stride, void *data) {
* VALUE v = (VALUE)vstart;
* for (; v != (VALUE)vend; v += stride) {
- * if (RBASIC(v)->flasgs) { // liveness check
+ * if (RBASIC(v)->flags) { // liveness check
* // do something with live object 'v'
* }
* return 0; // continue to iteration
@@ -2936,9 +2936,9 @@ count_objects(int argc, VALUE *argv, VALUE os)
* call-seq:
* GC.count -> Integer
*
- * The number of times GC occured.
+ * The number of times GC occurred.
*
- * It returns the number of times GC occured since the process started.
+ * It returns the number of times GC occurred since the process started.
*
*/