aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorAnton N Ryabkov <[email protected]>2017-04-20 14:25:43 +0700
committerAnton N Ryabkov <[email protected]>2017-05-02 08:22:13 +0700
commit4a60e2df0ff2a95ed899768d8698d419b067d371 (patch)
tree0d7a8c026d8025e085dc69739fca0e441a0d816f /lib/stdlib/doc
parent42faed747858483506c12e722573e48d0f5f7996 (diff)
downloadotp-4a60e2df0ff2a95ed899768d8698d419b067d371.tar.gz
otp-4a60e2df0ff2a95ed899768d8698d419b067d371.tar.bz2
otp-4a60e2df0ff2a95ed899768d8698d419b067d371.zip
Fixed typos in the gen_event, gen_fsm, gen_server documentation.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/gen_event.xml4
-rw-r--r--lib/stdlib/doc/src/gen_server.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml
index fbd6cf220a..efcf80390b 100644
--- a/lib/stdlib/doc/src/gen_event.xml
+++ b/lib/stdlib/doc/src/gen_event.xml
@@ -421,8 +421,8 @@ gen_event:stop -----> Module:terminate/2
</item>
<item>
<p>If option <c>{auto_hibernate_timeout,AutoHibernateTimeout}</c> is present, the <c>gen_event</c>
- process wait any message <c>AutoHibernateTimeout</c> milliseconds and
- in case of no message was received, process goes into hibernation automatically
+ process awaits any message for <c>AutoHibernateTimeout</c> milliseconds and
+ if no message is received, the process goes into hibernation automatically
(by calling <seealso marker="proc_lib#hibernate/3"><c>proc_lib:hibernate/3</c></seealso>).</p>
</item>
</list>
diff --git a/lib/stdlib/doc/src/gen_server.xml b/lib/stdlib/doc/src/gen_server.xml
index f6053d501f..9df2b45fe0 100644
--- a/lib/stdlib/doc/src/gen_server.xml
+++ b/lib/stdlib/doc/src/gen_server.xml
@@ -418,8 +418,8 @@ gen_server:abcast -----> Module:handle_cast/2
</item>
<item>
<p>If option <c>{auto_hibernate_timeout,AutoHibernateTimeout}</c> is present, the <c>gen_server</c>
- process wait any message <c>AutoHibernateTimeout</c> milliseconds and
- in case of no message was received, process goes into hibernation automatically
+ process awaits any message for <c>AutoHibernateTimeout</c> milliseconds and
+ if no message is received, the process goes into hibernation automatically
(by calling <seealso marker="proc_lib#hibernate/3"><c>proc_lib:hibernate/3</c></seealso>).</p>
</item>
<item>