From 37e64f50df640803625771bc3655b6db6c351493 Mon Sep 17 00:00:00 2001 From: juhlig Date: Mon, 24 Jun 2019 13:18:31 +0200 Subject: Add missing specs --- src/ranch_app.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ranch_app.erl') diff --git a/src/ranch_app.erl b/src/ranch_app.erl index 8ac470e..e65db48 100644 --- a/src/ranch_app.erl +++ b/src/ranch_app.erl @@ -19,10 +19,12 @@ -export([stop/1]). -export([profile_output/0]). +-spec start(application:start_type(), term()) -> {ok, pid()} | {error, term()}. start(_, _) -> _ = consider_profiling(), ranch_sup:start_link(). +-spec stop(term()) -> ok. stop(_) -> ok. -- cgit v1.2.3