diff options
Diffstat (limited to 'embassy-net/src')
| -rw-r--r-- | embassy-net/src/udp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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> { | |||
| 172 | /// register the current task to be notified when a datagram is received. | 172 | /// register the current task to be notified when a datagram is received. |
| 173 | /// | 173 | /// |
| 174 | /// When a datagram is received, this method will call the provided function | 174 | /// When a datagram is received, this method will call the provided function |
| 175 | /// with the number of bytes received and the remote endpoint and return | 175 | /// with a reference to the received bytes and the remote endpoint and return |
| 176 | /// `Poll::Ready` with the function's returned value. | 176 | /// `Poll::Ready` with the function's returned value. |
| 177 | pub async fn recv_from_with<F, R>(&mut self, f: F) -> R | 177 | pub async fn recv_from_with<F, R>(&mut self, f: F) -> R |
| 178 | where | 178 | where |
