Skip to content

Commit

Permalink
fixing boolean type
Browse files Browse the repository at this point in the history
  • Loading branch information
slogsdon committed Feb 5, 2015
1 parent aa2f0c0 commit b0cf639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pool/server.ex
Expand Up @@ -30,13 +30,13 @@ defmodule Pool.Server do
`:ok`
"""
@spec set_listener(ref, pid) :: {:ok, bool}
@spec set_listener(ref, pid) :: {:ok, boolean}
def set_listener(ref, pid) do
{:ok, GenServer.call(__MODULE__, {:set_listener, ref, pid})}
end

@doc """
Gets a listener `pid` by a given `ref`.
Gets a listener `pid` by a given `ref`.
## Arguments
Expand Down

0 comments on commit b0cf639

Please sign in to comment.