From 2cf7d3981e1cfb6d9678ddfe399d87f7cc9b81d4 Mon Sep 17 00:00:00 2001 From: Andrea Leopardi 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/src/gen_udp.erl b/lib/kernel/src/gen_udp.erl index 0e3a7d0b06c5..d0863baf00ed 100644 --- a/lib/kernel/src/gen_udp.erl +++ b/lib/kernel/src/gen_udp.erl @@ -562,7 +562,7 @@ data. This means that it is not necessary to specify the destination address when sending a datagram. That is, we can use `send/2`. -It also means that the socket will only received data from this address. +It also means that the socket will only receive data from this address. """. -doc(#{since => <<"OTP 24.3">>}). -spec connect(Socket, SockAddr) -> ok | {error, Reason} when @@ -588,7 +588,7 @@ send data. This means that it is not necessary to specify the destination address when sending a datagram. That is, we can use `send/2`. -It also means that the socket will only received data from this address. +It also means that the socket will only receive data from this address. """. -doc(#{since => <<"OTP 24.3">>}). -spec connect(Socket, Address, Port) -> ok | {error, Reason} when