We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1279939 commit 3dc1c85Copy full SHA for 3dc1c85
1 file changed
library/std/src/sys/net/connection/uefi/mod.rs
@@ -15,6 +15,9 @@ pub struct TcpStream {
15
write_timeout: Arc<Mutex<Option<Duration>>>,
16
}
17
18
+// SAFETY: UEFI has no threads.
19
+unsafe impl Send for TcpStream {}
20
+
21
impl TcpStream {
22
fn new(inner: tcp::Tcp) -> Self {
23
Self {
0 commit comments