Skip to content
Permalink
Browse files

update: use & to replace anonymous function

  • Loading branch information
Maples7 committed Jun 15, 2019
1 parent 801ff47 commit c19d49fed10e026b0ccd3cd27a77af8e4b7fa87d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/field_mask.ex
@@ -188,7 +188,7 @@ defmodule FieldMask do
[delimiter, Enum.join(chars) | acc]
end)
|> Enum.reverse()
|> Enum.filter(fn str -> str !== nil and str !== "" end)
|> Enum.filter(&(&1 !== nil and &1 !== ""))
end

@doc """

0 comments on commit c19d49f

Please sign in to comment.
You can’t perform that action at this time.