Skip to content

Commit 3c88243

Browse files
author
Mark Allen
committed
And also the function signature
1 parent 348dcf3 commit 3c88243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ wait_until(Fun) when is_function(Fun) ->
664664

665665
%% @doc Convenience wrapper for wait_until for the myriad functions that
666666
%% take a node as single argument.
667-
-spec wait_until(node(), fun((node()) -> boolean())) -> ok | {fail, Result :: term()}.
667+
-spec wait_until(node(), fun(() -> boolean())) -> ok | {fail, Result :: term()}.
668668
wait_until(Node, Fun) when is_atom(Node), is_function(Fun) ->
669669
wait_until(fun() -> Fun(Node) end);
670670

0 commit comments

Comments
 (0)