File 0340-docs-fix-simple-typos.patch of Package erlang
From 218377bb3727656a4efb5582ecebe517ae3b4763 Mon Sep 17 00:00:00 2001
From: siiky <github-siiky@net-c.cat>
Date: Sun, 4 Jun 2023 20:16:04 +0100
Subject: [PATCH] docs: fix simple typos
---
lib/stdlib/doc/src/gen_event.xml | 8 ++++----
lib/stdlib/doc/src/gen_server.xml | 8 ++++----
lib/stdlib/doc/src/gen_statem.xml | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/lib/stdlib/doc/src/gen_event.xml b/lib/stdlib/doc/src/gen_event.xml
index 25d02d83f9..38e4922a07 100644
--- a/lib/stdlib/doc/src/gen_event.xml
+++ b/lib/stdlib/doc/src/gen_event.xml
@@ -453,7 +453,7 @@ gen_event:stop -----> Module:terminate/2
must correspond to requests that have been made using
<seemfa marker="#send_request/3"><c>send_request/3</c></seemfa> or
<seemfa marker="#send_request/5"><c>send_request/5</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -631,7 +631,7 @@ gen_event:stop -----> Module:terminate/2
that have been made using
<seemfa marker="#send_request/3"><c>send_request/3</c></seemfa> or
<seemfa marker="#send_request/5"><c>send_request/5</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -1140,7 +1140,7 @@ gen_event:stop -----> Module:terminate/2
that have been made using
<seemfa marker="#send_request/3"><c>send_request/3</c></seemfa> or
<seemfa marker="#send_request/5"><c>send_request/5</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -1177,7 +1177,7 @@ gen_event:stop -----> Module:terminate/2
The difference between
<seemfa marker="#receive_response/3"><c>receive_response/3</c></seemfa>
and <c>wait_response/3</c> is that <c>receive_response/3</c>
- abandons requests at timeout so that a potential future
+ abandons requests at timeout so that potential future
responses are ignored, while <c>wait_response/3</c> does not.
</p>
<p>
diff --git a/lib/stdlib/doc/src/gen_server.xml b/lib/stdlib/doc/src/gen_server.xml
index ad1deed965..8f4eb10b34 100644
--- a/lib/stdlib/doc/src/gen_server.xml
+++ b/lib/stdlib/doc/src/gen_server.xml
@@ -741,7 +741,7 @@ gen_server:abcast -----> Module:handle_cast/2
must correspond to requests that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -997,7 +997,7 @@ gen_server:abcast -----> Module:handle_cast/2
that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -1426,7 +1426,7 @@ gen_server:abcast -----> Module:handle_cast/2
that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -1463,7 +1463,7 @@ gen_server:abcast -----> Module:handle_cast/2
The difference between
<seemfa marker="#receive_response/3"><c>receive_response/3</c></seemfa>
and <c>wait_response/3</c> is that <c>receive_response/3</c>
- abandons requests at timeout so that a potential future
+ abandons requests at timeout so that potential future
responses are ignored, while <c>wait_response/3</c> does not.
</p>
<p>
diff --git a/lib/stdlib/doc/src/gen_statem.xml b/lib/stdlib/doc/src/gen_statem.xml
index 319fafee07..042c16e3c8 100644
--- a/lib/stdlib/doc/src/gen_statem.xml
+++ b/lib/stdlib/doc/src/gen_statem.xml
@@ -1876,7 +1876,7 @@ handle_event(_, _, State, Data) ->
must correspond to requests that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -2095,7 +2095,7 @@ handle_event(_, _, State, Data) ->
that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -2648,7 +2648,7 @@ handle_event(_, _, State, Data) ->
that have been made using
<seemfa marker="#send_request/2"><c>send_request/2</c></seemfa> or
<seemfa marker="#send_request/4"><c>send_request/4</c></seemfa>,
- and all request must have been made by the process calling this
+ and all requests must have been made by the process calling this
function.
</p>
<p>
@@ -2685,7 +2685,7 @@ handle_event(_, _, State, Data) ->
The difference between
<seemfa marker="#receive_response/3"><c>receive_response/3</c></seemfa>
and <c>wait_response/3</c> is that <c>receive_response/3</c>
- abandons requests at timeout so that a potential future
+ abandons requests at timeout so that potential future
responses are ignored, while <c>wait_response/3</c> does not.
</p>
<p>
--
2.35.3