Skip to content

Commit

Permalink
[fix] #30: fix spec definition (mqtt_topic_registry:count())
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Bour committed Jun 16, 2016
1 parent b8e8ad1 commit 5c52d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wave/src/mqtt_topic_registry.erl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ match(Name) ->
gen_server:call(?MODULE, {match, Name}).


-spec count() -> integer().
-spec count() -> {ok, integer()}.
count() ->
{ok, gen_server:call(?MODULE, count)}.

Expand Down

0 comments on commit 5c52d9e

Please sign in to comment.