We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ffc761 + 761ff4e commit e99a3c6Copy full SHA for e99a3c6
src/io.rs
@@ -76,7 +76,7 @@ fn open_socket(params: &ConnectParams)
76
let port = params.port.unwrap_or(DEFAULT_PORT);
77
let socket = match params.target {
78
ConnectTarget::Tcp(ref host) =>
79
- tcp::TcpStream::connect(host[], port).map(TcpStream),
+ tcp::TcpStream::connect((host[], port)).map(TcpStream),
80
ConnectTarget::Unix(ref path) => {
81
let mut path = path.clone();
82
path.push(format!(".s.PGSQL.{}", port));
0 commit comments