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')
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
From 3255020b010c33f50282ee4e1b7030811c0fd152 Mon Sep 17 00:00:00 2001
From: Bikram Chatterjee
Date: Mon, 29 Oct 2018 16:53:18 +0100
Subject: fix extra parameter in
```erlang
Position = integer()
```
Parameter doesn't exist in `read/3,4`
---
lib/ssh/doc/src/ssh_sftp.xml | 1 -
1 file changed, 1 deletion(-)
(limited to 'lib')
diff --git a/lib/ssh/doc/src/ssh_sftp.xml b/lib/ssh/doc/src/ssh_sftp.xml
index ea55126cb3..8c105147d6 100644
--- a/lib/ssh/doc/src/ssh_sftp.xml
+++ b/lib/ssh/doc/src/ssh_sftp.xml
@@ -425,7 +425,6 @@
ChannelPid = pid()
Handle = term()
- Position = integer()
Len = integer()
Timeout = timeout()
Data = string() | binary()
--
cgit v1.2.3