Skip to content

Commit c8f1e20

Browse files
committed
cargo fmt
1 parent b66da31 commit c8f1e20

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/register_rawfd.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#![cfg(all(unix, feature = "unstable"))]
22

3-
use async_std::os::unix::io::{register, unregister, Interest, IntoRawFd, FromRawFd};
43
use async_std::future::poll_fn;
54
use async_std::net::{TcpListener, TcpStream};
5+
use async_std::os::unix::io::{register, unregister, FromRawFd, Interest, IntoRawFd};
66
use async_std::task::{self, block_on, Poll};
77

88
#[test]
@@ -32,10 +32,13 @@ fn register_stream() {
3232

3333
Poll::Pending
3434
}
35-
}).await;
35+
})
36+
.await;
3637

3738
t.await.unwrap();
38-
unsafe { TcpStream::from_raw_fd(stream); }
39+
unsafe {
40+
TcpStream::from_raw_fd(stream);
41+
}
3942
}
4043
});
4144
}

0 commit comments

Comments
 (0)