lib/rubocop/cop/style/hash_transform_values.rb in rubocop-1.52.0 vs lib/rubocop/cop/style/hash_transform_values.rb in rubocop-1.52.1

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true module RuboCop module Cop module Style - # Looks for uses of `_.each_with_object({}) {...}`, - # `_.map {...}.to_h`, and `Hash[_.map {...}]` that are actually just + # Looks for uses of `\_.each_with_object({}) {...}`, + # `\_.map {...}.to_h`, and `Hash[\_.map {...}]` that are actually just # transforming the values of a hash, and tries to use a simpler & faster # call to `transform_values` instead. # # @safety # This cop is unsafe, as it can produce false positives if we are