Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Commit dcdd190

Browse files
xofyargyoshuawuyts
authored andcommitted
add "Sync" to UdpSocket(#62) (#67)
1 parent 7e6f89d commit dcdd190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime-raw/src/udp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::pin::Pin;
55
use std::task::{Context, Poll};
66

77
/// A UDP socket.
8-
pub trait UdpSocket: Debug + Send {
8+
pub trait UdpSocket: Debug + Send + Sync {
99
/// Returns the local address that this listener is bound to.
1010
///
1111
/// This can be useful, for example, when binding to port 0 to figure out

0 commit comments

Comments
 (0)