From 692637213788de09f6391b760032b94a71ee6bcf Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 3 Jan 2007 02:51:44 +0000 Subject: * io.c (ruby_dup): start GC on ENOMEM as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index fb8afdbed..647c8fbad 100644 --- a/string.c +++ b/string.c @@ -1863,10 +1863,7 @@ rb_str_insert(str, idx, str2) * str.slice!(other_str) => new_str or nil * * Deletes the specified portion from str, and returns the portion - * deleted. The forms that take a Fixnum will raise an - * IndexError if the value is out of range; the Range - * form will raise a RangeError, and the Regexp and - * String forms will silently ignore the assignment. + * deleted. * * string = "this is a string" * string.slice!(2) #=> 105 -- cgit