From 3b8ac2cdd72b0207f21595c09a265d979e05f366 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 16 Aug 2014 14:26:04 -0700 Subject: [PATCH] cargo update --- Cargo.toml | 2 +- src/io.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f69651ff..3be98557 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "postgres" version = "0.0.0" authors = [ "Steven Fackler " ] -[[lib]] +[lib] name = "postgres" path = "src/lib.rs" test = false diff --git a/src/io.rs b/src/io.rs index 86e29e2a..826f303b 100644 --- a/src/io.rs +++ b/src/io.rs @@ -97,8 +97,7 @@ fn open_socket(params: &PostgresConnectParams) } pub fn initialize_stream(params: &PostgresConnectParams, ssl: &SslMode) - -> Result, - PostgresConnectError> { + -> Result, PostgresConnectError> { let mut socket = try!(open_socket(params)); let (ssl_required, ctx) = match *ssl {