Removed generic type parameter.

This commit is contained in:
Gustav Toft 2024-04-11 10:34:17 +02:00
parent fd5113eeb0
commit b578d3e645

View File

@ -91,7 +91,7 @@ impl<'a> RawSocket<'a> {
/// Send a datagram. /// Send a datagram.
/// ///
/// This method will wait until the datagram has been sent.` /// This method will wait until the datagram has been sent.`
pub async fn send<T>(&self, buf: &[u8]) { pub async fn send(&self, buf: &[u8]) {
poll_fn(move |cx| self.poll_send(buf, cx)).await poll_fn(move |cx| self.poll_send(buf, cx)).await
} }