mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Removed generic type parameter.
This commit is contained in:
parent
fd5113eeb0
commit
b578d3e645
@ -91,7 +91,7 @@ impl<'a> RawSocket<'a> {
|
||||
/// Send a datagram.
|
||||
///
|
||||
/// 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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user