Skip to content

Commit

Permalink
Remove unused private macro ends_in/2 (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Nov 3, 2023
1 parent c1c94db commit 002dee1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/gettext/plural.ex
Expand Up @@ -248,14 +248,6 @@ defmodule Gettext.Plural do

# Behaviour implementation.

defmacrop ends_in(n, digits) do
digits = List.wrap(digits)

quote do
rem(unquote(n), 10) in unquote(digits)
end
end

# Default implementation of the init/1 callback, in case the user uses
# Gettext.Plural as their plural forms module.
@doc false
Expand Down

0 comments on commit 002dee1

Please sign in to comment.