diff options
| author | Gustav Toft <[email protected]> | 2024-04-11 10:34:17 +0200 |
|---|---|---|
| committer | Gustav Toft <[email protected]> | 2024-04-11 10:34:17 +0200 |
| commit | b578d3e645a534bdc76f43e603e9f5b2cab131fa (patch) | |
| tree | 747ed494dd1ef767823dd198eca259dcf304e147 | |
| parent | fd5113eeb00add4af38cb0a3ff95c7d414c68b87 (diff) | |
Removed generic type parameter.
| -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 | ||
