Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up rubocop/rubocop#11735. This PR suppresses the following new `Style/MapToSet` offense: ```console % bundle exec rubocop (snip) Offenses: lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb:41:33: C: [Correctable] Style/MapToSet: Pass a block to to_set instead of calling map.to_set. set = node.children.map(&:child).to_set.freeze ^^^ 163 files inspected, 1 offense detected, 1 offense autocorrectable ```
- Loading branch information