From 1b542a5d1e70b8e5e78a9e13e50e9d7cb3e20be3 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Thu, 27 Jul 2023 17:22:24 +0100 Subject: [PATCH] Fix elli:stop/1's -spec --- src/elli.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elli.erl b/src/elli.erl index 9f233ce..bc9285e 100644 --- a/src/elli.erl +++ b/src/elli.erl @@ -106,7 +106,7 @@ set_callback(S, Callback, CallbackArgs) -> gen_server:call(S, {set_callback, Callback, CallbackArgs}). %% @doc Stop `Server'. --spec stop(Server :: atom()) -> {stop, normal, ok, state()}. +-spec stop(Server :: atom()) -> ok. stop(S) -> gen_server:call(S, stop).