mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Add +warn_missing_spec and fix specs
This commit is contained in:
parent
17af50812c
commit
c9b9644aa3
6 changed files with 38 additions and 4 deletions
|
@ -39,6 +39,7 @@
|
|||
|
||||
-type state() :: {binary(), {ok, #file_info{}} | {error, atom()}, extra()}.
|
||||
|
||||
-spec init(_, _, _) -> {upgrade, protocol, cowboy_rest}.
|
||||
init(_, _, _) ->
|
||||
{upgrade, protocol, cowboy_rest}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue