lib/rubocop/cop/performance/end_with.rb in rubocop-performance-1.13.3 vs lib/rubocop/cop/performance/end_with.rb in rubocop-performance-1.14.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Performance
- # This cop identifies unnecessary use of a regex where `String#end_with?` would suffice.
+ # Identifies unnecessary use of a regex where `String#end_with?` would suffice.
#
# This cop has `SafeMultiline` configuration option that `true` by default because
# `end$` is unsafe as it will behave incompatible with `end_with?`
# for receiver is multiline string.
#