Skip to content

Commit

Permalink
reflow
Browse files Browse the repository at this point in the history
  • Loading branch information
expede committed Dec 30, 2016
1 parent 10a533a commit 81f9631
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/type_class.ex
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ defmodule TypeClass do

@doc "Variant of `definst/2` for use inside of a `defstruct` module definition"
defmacro definst(class, do: body) do
quote do
definst(unquote(class), for: __MODULE__, do: unquote(body))
end
quote do: definst(unquote(class), for: __MODULE__, do: unquote(body))
end

@doc ~S"""
Expand Down

0 comments on commit 81f9631

Please sign in to comment.