aboutsummaryrefslogtreecommitdiffstats
path: root/lib/benchmark.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/benchmark.rb')
-rw-r--r--lib/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index 36e593518f..c7c3935131 100644
--- a/lib/benchmark.rb
+++ b/lib/benchmark.rb
@@ -331,7 +331,7 @@ module Benchmark
#
def item(label = "", &blk) # :yield:
raise ArgmentError, "no block" unless block_given?
- label.concat ' '
+ label += ' '
w = label.length
@width = w if @width < w
@list.push [label, blk]