diff --git a/src/lib.rs b/src/lib.rs index 7cf9490c..7096804d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,18 +72,17 @@ use std::result; #[cfg(feature = "unix_socket")] use std::path::PathBuf; -pub use stmt::{Statement, Column}; - use error::{Error, ConnectError, SqlState, DbError}; -use types::{ToSql, FromSql}; use io::{StreamWrapper, NegotiateSsl}; -use types::{IsNull, Kind, Type, SessionInfo, Oid, Other}; use message::BackendMessage::*; use message::FrontendMessage::*; use message::{FrontendMessage, BackendMessage, RowDescriptionEntry}; use message::{WriteMessage, ReadMessage}; -use url::Url; use rows::{Rows, LazyRows}; +use stmt::{Statement, Column}; +use types::{IsNull, Kind, Type, SessionInfo, Oid, Other}; +use types::{ToSql, FromSql}; +use url::Url; #[macro_use] mod macros; diff --git a/src/rows.rs b/src/rows.rs index 7e27af00..cba54c1d 100644 --- a/src/rows.rs +++ b/src/rows.rs @@ -8,9 +8,7 @@ use std::borrow::Cow; use std::slice; use std::vec; -use {Statement, - Column, - Result, +use {Result, Transaction, read_rows, DbErrorNew, @@ -19,6 +17,7 @@ use {Statement, LazyRowsNew, StatementInternals}; use types::{FromSql, SessionInfo}; +use stmt::{Statement, Column}; use error::Error; use message::FrontendMessage::*;