From 0bc8a6ec6f7ba9af68c4b17488b1bae7d2ce8320 Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Mon, 30 May 2016 12:50:27 +0200 Subject: [PATCH] address comments --- src/lib.rs | 2 +- src/priv_io.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a1e9e681..e1eab14d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -//! A pure-Rust frontend for the popular `PostgreSQL` database. +//! A pure-Rust frontend for the popular PostgreSQL database. //! //! ```rust,no_run //! extern crate postgres; diff --git a/src/priv_io.rs b/src/priv_io.rs index 4d540682..b17257da 100644 --- a/src/priv_io.rs +++ b/src/priv_io.rs @@ -1,4 +1,7 @@ use byteorder::ReadBytesExt; +// this import needs to stay to support pre 1.9 users +#[allow(unused_imports)] +use net2::TcpStreamExt; use std::error::Error; use std::io; use std::io::prelude::*;