Skip to content

Commit

Permalink
Merge pull request #1953 from Shopify/amomchilov-patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary `.each`
  • Loading branch information
amomchilov authored Jul 10, 2024
2 parents c2bca9d + 8f3a0d8 commit df5079f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tapioca/dsl/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def all_classes
sig { returns(T::Enumerable[Module]) }
def all_modules
@all_modules ||= T.let(
ObjectSpace.each_object(Module).each,
ObjectSpace.each_object(Module),
T.nilable(T::Enumerable[Module]),
)
end
Expand Down

0 comments on commit df5079f

Please sign in to comment.