mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-26 20:00:27 +00:00
net: correct UdpSocket::recv_from_with
docs
This commit is contained in:
parent
ec812d3e66
commit
db9af5b6cc
@ -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<F, R>(&mut self, f: F) -> R
|
||||
where
|
||||
|
Loading…
x
Reference in New Issue
Block a user