File 0594-Fix-typos-in-docs-for-gen_udp-connect-2-3.patch of Package erlang

From 2cf7d3981e1cfb6d9678ddfe399d87f7cc9b81d4 Mon Sep 17 00:00:00 2001
From: Andrea Leopardi <an.leopardi@gmail.com>
Date: Fri, 16 Feb 2024 12:43:38 +0100
Subject: [PATCH] Fix typos in docs for gen_udp:connect/2,3

---
 lib/kernel/src/gen_udp.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/kernel/doc/src/gen_udp.xml b/lib/kernel/doc/src/gen_udp.xml
index 0e3a7d0b06..d0863baf00 100644
--- a/lib/kernel/doc/src/gen_udp.xml
+++ b/lib/kernel/doc/src/gen_udp.xml
@@ -166,7 +166,7 @@
 	address when sending a datagram. That is, we can use
 	<seeerl marker="#send-2"><c>send/2</c></seeerl>. </p>
 
-	<p>It also means that the socket will only received data
+	<p>It also means that the socket will only receive data
 	from this address. </p>
 
 	<!--
@@ -189,7 +189,7 @@
 	address when sending a datagram. That is, we can use
 	<seeerl marker="#send-2"><c>send/2</c></seeerl>. </p>
 
-	<p>It also means that the socket will only received data
+	<p>It also means that the socket will only receive data
 	from this address. </p>
 
 	<!--
-- 
2.35.3

openSUSE Build Service is sponsored by