summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/scanf.rb2
1 files changed, 1 insertions, 1 deletions
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