diff options
| -rw-r--r-- | embassy-net/src/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-net/src/raw.rs b/embassy-net/src/raw.rs index a6500a51f..7ecd913e7 100644 --- a/embassy-net/src/raw.rs +++ b/embassy-net/src/raw.rs | |||
| @@ -91,7 +91,7 @@ impl<'a> RawSocket<'a> { | |||
| 91 | /// Send a datagram. | 91 | /// Send a datagram. |
| 92 | /// | 92 | /// |
| 93 | /// This method will wait until the datagram has been sent.` | 93 | /// This method will wait until the datagram has been sent.` |
| 94 | pub async fn send<T>(&self, buf: &[u8]) { | 94 | pub async fn send(&self, buf: &[u8]) { |
| 95 | poll_fn(move |cx| self.poll_send(buf, cx)).await | 95 | poll_fn(move |cx| self.poll_send(buf, cx)).await |
| 96 | } | 96 | } |
| 97 | 97 | ||
