lib/fasterer/offense.rb in fasterer-0.3.2 vs lib/fasterer/offense.rb in fasterer-0.4.0

- old
+ new

@@ -45,10 +45,10 @@ fetch_with_argument_vs_block: 'Hash#fetch with second argument is slower than Hash#fetch with block', keys_each_vs_each_key: - 'Hash#keys.each is slower than Hash#each_key', + 'Hash#keys.each is slower than Hash#each_key. N.B. Hash#each_key cannot be used if the hash is modified during the each block', hash_merge_bang_vs_hash_brackets: 'Hash#merge! with one argument is slower than Hash#[]', block_vs_symbol_to_proc: