aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgenrich <[email protected]>2013-06-08 20:08:52 +0300
committergenrich <[email protected]>2013-06-08 20:08:52 +0300
commit1179bc357a73edfdd6e0e0ac911247ceab1c7d23 (patch)
tree3eb131cabb941f1f1cbf620c84db7f75db9f7d1a /lib
parentf7295b48627fb84bceef61044b6f2d0cbee10c2b (diff)
downloadotp-1179bc357a73edfdd6e0e0ac911247ceab1c7d23.tar.gz
otp-1179bc357a73edfdd6e0e0ac911247ceab1c7d23.tar.bz2
otp-1179bc357a73edfdd6e0e0ac911247ceab1c7d23.zip
handle_info Info type possible typo
Should it be 'timeout' instead of timeout(), as in doc: http://www.erlang.org/doc/man/gen_server.html#Module:handle_info-2?
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/gen_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/gen_server.erl b/lib/stdlib/src/gen_server.erl
index 30a81ade49..64fa127782 100644
--- a/lib/stdlib/src/gen_server.erl
+++ b/lib/stdlib/src/gen_server.erl
@@ -124,7 +124,7 @@
{noreply, NewState :: term()} |
{noreply, NewState :: term(), timeout() | hibernate} |
{stop, Reason :: term(), NewState :: term()}.
--callback handle_info(Info :: timeout() | term(), State :: term()) ->
+-callback handle_info(Info :: timeout | term(), State :: term()) ->
{noreply, NewState :: term()} |
{noreply, NewState :: term(), timeout() | hibernate} |
{stop, Reason :: term(), NewState :: term()}.