rrrene / credo

A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
http://credo-ci.org/
MIT License
4.94k stars 419 forks source link

refactoring opp: [F] ↗ is more efficient than #1103

Closed bradhanks closed 11 months ago

bradhanks commented 11 months ago

Changed Enum.filter/2 |> Enum.count/1 to Enum.count/2 as recommended by credo.

rrrene commented 11 months ago

Thx!