aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrujo Benavides <[email protected]>2018-10-24 09:14:37 -0300
committerGitHub <[email protected]>2018-10-24 09:14:37 -0300
commitfd22d95373d145c054c9ba9085e67cd6277bd826 (patch)
treeab24478b283157c786a2733e6c13d1c0b9d8a23c
parentc37f7a2215646c85c1ae12303f07bc9bc27b75ae (diff)
downloadotp-fd22d95373d145c054c9ba9085e67cd6277bd826.tar.gz
otp-fd22d95373d145c054c9ba9085e67cd6277bd826.tar.bz2
otp-fd22d95373d145c054c9ba9085e67cd6277bd826.zip
Fix docs on gen_event optional callback
It returns `ok`, instead of `noreply`.
-rw-r--r--lib/stdlib/doc/src/gen_event.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml
index f793ec7fdf..fc34e51216 100644
--- a/lib/stdlib/doc/src/gen_event.xml
+++ b/lib/stdlib/doc/src/gen_event.xml
@@ -775,7 +775,7 @@ gen_event:stop -----> Module:terminate/2
<p>This callback is optional, so callback modules need not
export it. The <c>gen_event</c> module provides a default
implementation of this function that logs about the unexpected
- <c>Info</c> message, drops it and returns <c>{noreply, State}</c>.</p>
+ <c>Info</c> message, drops it and returns <c>{ok, State}</c>.</p>
</note>
<p>This function is called for each installed event handler when
an event manager receives any other message than an event or