lib/rubocop/cop/style/slicing_with_range.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/slicing_with_range.rb in rubocop-1.30.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Style
- # This cop checks that arrays are sliced with endless ranges instead of
+ # Checks that arrays are sliced with endless ranges instead of
# `ary[start..-1]` on Ruby 2.6+.
#
# @safety
# This cop is unsafe because `x..-1` and `x..` are only guaranteed to
# be equivalent for `Array#[]`, and the cop cannot determine what class