Skip to content

Commit 5e5ab80

Browse files
authored
Remove additional autogenerate callback
1 parent 39de72d commit 5e5ab80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ecto/type.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,8 @@ defmodule Ecto.Type do
320320
to `field` with the `:autogenerate` flag.
321321
"""
322322
@callback autogenerate() :: term()
323-
@callback autogenerate(term) :: term()
324323

325-
@optional_callbacks autogenerate: 0, autogenerate: 1
324+
@optional_callbacks autogenerate: 0
326325

327326
## Functions
328327

0 commit comments

Comments
 (0)