Skip to content

Commit 75e13c8

Browse files
committed
fix compile on windows
1 parent 4bc83d9 commit 75e13c8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/client/options/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,8 +1621,9 @@ impl ConnectionString {
16211621
)?);
16221622
#[cfg(not(unix))]
16231623
return Err(ErrorKind::InvalidArgument {
1624-
message: "Unix domain sockets are not supported on this platform".into(),
1625-
});
1624+
message: "Unix domain sockets are not supported on this platform".to_string(),
1625+
}
1626+
.into());
16261627
} else {
16271628
host_list.push(host.to_string());
16281629
}

0 commit comments

Comments
 (0)