Skip to content

Commit 2e90ba2

Browse files
committed
remove callback and behaviour
1 parent edd3862 commit 2e90ba2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/token.ex

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ defmodule SQL.Token do
88
Returns a SQL iodata for a given token.
99
"""
1010
@doc since: "0.3.0"
11-
@callback to_iodata(token :: {atom(), keyword(), list()} | [{atom(), keyword(), list()}], format :: atom(), case :: atom(), acc :: iodata()) :: iodata()
12-
@optional_callbacks to_iodata: 4
1311
defmacro __using__(opts) do
1412
quote bind_quoted: [opts: opts] do
15-
@behaviour SQL.Token
1613
@compile {:inline, to_iodata: 4, __to_iodata__: 4, indention: 3, indention: 4}
1714

1815
def to_iodata(token, %{format: format, case: case}), do: to_iodata(token, format, case, [])

0 commit comments

Comments
 (0)