From db9af5b6cc2d5f47a912836bebf25b48903006f9 Mon Sep 17 00:00:00 2001 From: Sam W Date: Thu, 3 Jul 2025 14:52:33 +0100 Subject: net: correct `UdpSocket::recv_from_with` docs --- embassy-net/src/udp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embassy-net') diff --git a/embassy-net/src/udp.rs b/embassy-net/src/udp.rs index 63c2f4c75..482eb0e56 100644 --- a/embassy-net/src/udp.rs +++ b/embassy-net/src/udp.rs @@ -172,7 +172,7 @@ impl<'a> UdpSocket<'a> { /// register the current task to be notified when a datagram is received. /// /// When a datagram is received, this method will call the provided function - /// with the number of bytes received and the remote endpoint and return + /// with a reference to the received bytes and the remote endpoint and return /// `Poll::Ready` with the function's returned value. pub async fn recv_from_with(&mut self, f: F) -> R where -- cgit