Skip to content

Commit ece15e9

Browse files
bryantbiggsmxpv
authored andcommitted
fix: Windows client is not awaitable
1 parent 2050c85 commit ece15e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/client/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,9 @@ pub async fn connect(
103103

104104
#[cfg(windows)]
105105
{
106-
let client = tokio::net::windows::named_pipe::ClientOptions::new()
106+
tokio::net::windows::named_pipe::ClientOptions::new()
107107
.open(path)
108-
.map_err(|e| std::io::Error::from(e));
109-
client.await
108+
.map_err(|e| std::io::Error::from(e))
110109
}
111110
}
112111
}))

0 commit comments

Comments
 (0)