Skip to content

Commit

Permalink
Remove a redundant unsafe description
Browse files Browse the repository at this point in the history
  • Loading branch information
MarttiCheng committed Dec 9, 2021
1 parent 2823261 commit 3dbc237
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/rubocop/cop/performance/detect.rb
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 3dbc237

Please sign in to comment.