0
Fork 0
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:
Loïc Hoguin 2014-03-27 11:16:24 +01:00
parent 17af50812c
commit c9b9644aa3
6 changed files with 38 additions and 4 deletions

View file

@ -39,6 +39,7 @@
-type state() :: {binary(), {ok, #file_info{}} | {error, atom()}, extra()}.
-spec init(_, _, _) -> {upgrade, protocol, cowboy_rest}.
init(_, _, _) ->
{upgrade, protocol, cowboy_rest}.