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.91k stars 414 forks source link

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

Closed bradhanks closed 8 months ago

bradhanks commented 8 months ago

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

rrrene commented 8 months ago

Thx!