aboutsummaryrefslogtreecommitdiff
path: root/embassy-net/src
diff options
context:
space:
mode:
authorGustav Toft <[email protected]>2024-04-11 10:34:17 +0200
committerGustav Toft <[email protected]>2024-04-11 10:34:17 +0200
commitb578d3e645a534bdc76f43e603e9f5b2cab131fa (patch)
tree747ed494dd1ef767823dd198eca259dcf304e147 /embassy-net/src
parentfd5113eeb00add4af38cb0a3ff95c7d414c68b87 (diff)
Removed generic type parameter.
Diffstat (limited to 'embassy-net/src')
-rw-r--r--embassy-net/src/raw.rs2
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