summaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-11-06 06:37:40 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-11-06 06:37:40 +0000
commit164abf9f110f54e9e6024855a87937d0b6a99b0e (patch)
tree3f3572f7a122cecb83116bbd3d15746d3148ce37 /string.c
parent93006c1b1045860d5229abbe99cf356c1aabce9c (diff)
downloadruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.tar.gz
ruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.tar.xz
ruby-164abf9f110f54e9e6024855a87937d0b6a99b0e.zip
* parse.y (arg_dup_check): vid may be nameless internal id.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 18405af96..56b03baa7 100644
--- a/string.c
+++ b/string.c
@@ -3592,7 +3592,7 @@ rb_str_split(VALUE str, const char *sep0)
* str.lines(separator=$/) {|substr| block } => str
*
* Returns an enumerator that gives each line in the string. If a block is
- * given, it iterates over eac line in the string.
+ * given, it iterates over each line in the string.
*
* "foo\nbar\n".lines.to_a #=> ["foo\n", "bar\n"]
* "foo\nb ar".lines.sort #=> ["b ar", "foo\n"]