aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-03 06:39:26 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-03 06:39:26 +0000
commite2977fc8f36cc25008011698b03fe7b012077101 (patch)
treec71b617e3b5f049261a6d3ef2b9815b3062a3220
parente1d283847d6d449ea8845fb777aaed821ded59e8 (diff)
downloadruby-e2977fc8f36cc25008011698b03fe7b012077101.tar.gz
* lib/scanf.rb: fixed double words typo.
[ci skip][fix GH-1123] Patch by @jwworth git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/scanf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bc76b9800f..3066d279e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Dec 3 15:39:21 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
+
+ * lib/scanf.rb: fixed double words typo.
+ [ci skip][fix GH-1123] Patch by @jwworth
+
Thu Dec 3 15:37:56 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* test/ruby/test_mixed_unicode_escapes.rb: fixed typo.
diff --git a/lib/scanf.rb b/lib/scanf.rb
index b6c5287664..d12dc12f55 100644
--- a/lib/scanf.rb
+++ b/lib/scanf.rb
@@ -610,7 +610,7 @@ class IO
#
# See Scanf for details on creating a format string.
#
- # You will need to require 'scanf' to use use IO#scanf.
+ # You will need to require 'scanf' to use IO#scanf.
def scanf(str,&b) #:yield: current_match
return block_scanf(str,&b) if b
return [] unless str.size > 0