Skip to content

Commit 4295a15

Browse files
committed
fix a typo
1 parent 938ff76 commit 4295a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gc.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ First, `C.new` is actually `Class#new`. Its actual body is this:
18871887
</pre>
18881888

18891889

1890-
`rb_obj_alloc()` calles the `allocate` method against the `klass`.
1890+
`rb_obj_alloc()` calls the `allocate` method against the `klass`.
18911891
In other words, it calls `C.allocate` in this example currently explained.
18921892
It is `Class#allocate` by default and its actual body is `rb_class_allocate_instance()`.
18931893

0 commit comments

Comments
 (0)