From fd22d95373d145c054c9ba9085e67cd6277bd826 Mon Sep 17 00:00:00 2001
From: Brujo Benavides
Date: Wed, 24 Oct 2018 09:14:37 -0300
Subject: Fix docs on gen_event optional callback
It returns `ok`, instead of `noreply`.
---
lib/stdlib/doc/src/gen_event.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/stdlib/doc/src/gen_event.xml')
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
This callback is optional, so callback modules need not
export it. The gen_event module provides a default
implementation of this function that logs about the unexpected
- Info message, drops it and returns {noreply, State}.
+ Info message, drops it and returns {ok, State}.
This function is called for each installed event handler when
an event manager receives any other message than an event or
--
cgit v1.2.3