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 688bd8d commit 275dd86Copy full SHA for 275dd86
sqlx-core/src/net/socket.rs
@@ -55,7 +55,7 @@ impl Socket {
55
}
56
57
pub async fn shutdown(&mut self) -> io::Result<()> {
58
- #[cfg(feature = "_rt-async-std")]
+ #[cfg(all(feature = "_rt-async-std", not(feature = "_rt-wasm-bindgen")))]
59
{
60
use std::net::Shutdown;
61
@@ -153,7 +153,7 @@ impl AsyncWrite for Socket {
153
154
155
156
157
fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> {
158
match &mut *self {
159
Socket::Tcp(s) => Pin::new(s).poll_close(cx),
0 commit comments