Skip to content

Commit

Permalink
Remove a redundant unsafe description
Browse files Browse the repository at this point in the history
Follow up to #262.
  • Loading branch information
koic committed Dec 9, 2021
1 parent bc3a349 commit 1d7f986
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rubocop/cop/performance/detect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ module Performance
# [].detect { |item| true }
# [].reverse.detect { |item| true }
#
# `ActiveRecord` compatibility:
# `ActiveRecord` does not implement a `detect` method and `find` has its
# own meaning. Correcting ActiveRecord methods with this cop should be
# considered unsafe.
class Detect < Base
extend AutoCorrector

Expand Down

0 comments on commit 1d7f986

Please sign in to comment.