Skip to content

Commit 36c5903

Browse files
authored
Merge pull request sfackler#296 from Meralis40/tokio-postgres-windows
Correct build error on non-unix targets for tokio-postgres
2 parents b779150 + 3e4186a commit 36c5903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-postgres/src/stream.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn connect(
4747
#[cfg(not(unix))]
4848
Host::Unix(_) => {
4949
Either::B(
50-
Err(ConnectError::ConnectParams(
50+
Err(error::connect(
5151
"unix sockets are not supported on this \
5252
platform"
5353
.into(),

0 commit comments

Comments
 (0)