lib/rubocop/cop/performance/start_with.rb in rubocop-performance-1.13.3 vs lib/rubocop/cop/performance/start_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#start_with?` would suffice.
+ # Identifies unnecessary use of a regex where `String#start_with?` would suffice.
#
# This cop has `SafeMultiline` configuration option that `true` by default because
# `^start` is unsafe as it will behave incompatible with `start_with?`
# for receiver is multiline string.
#