summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/rexml/source.rb2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ef5dc6368..92e8f5b06c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Jun 14 10:13:55 2015 Kouhei Sutou <kou@cozmixng.org>
+
+ * lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in
+ document. [fix GH-934]
+ Patch by Anton Davydov. Thanks!!!
+
Sun Jun 14 10:09:48 2015 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/attlistdecl.rb (REXML::AttlistDecl): Fix a typo in
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index cfafdbd67a..87f7232232 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -185,7 +185,7 @@ module REXML
# You'll notice that this next section is very similar to the same
# section in match(), but just a liiittle different. This is
# because it is a touch faster to do it this way with scan()
- # than the way match() does it; enough faster to warrent duplicating
+ # than the way match() does it; enough faster to warrant duplicating
# some code
if rv.size == 0
until @buffer =~ pattern or @source.nil?