lib/rubocop/cop/lint/useless_times.rb in rubocop-1.29.1 vs lib/rubocop/cop/lint/useless_times.rb in rubocop-1.30.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module RuboCop module Cop module Lint - # This cop checks for uses of `Integer#times` that will never yield + # Checks for uses of `Integer#times` that will never yield # (when the integer <= 0) or that will only ever yield once # (`1.times`). # # @safety # This cop is unsafe as `times` returns its receiver, which is