Sort use statements

This commit is contained in:
Steven Fackler 2014-02-11 23:42:46 -08:00
parent d72c607b6d
commit 0f4e4e9c08

View File

@ -81,38 +81,38 @@ use openssl::ssl::{SslStream, SslContext};
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::hashmap::HashMap; use std::hashmap::HashMap;
use std::io::{BufferedStream, IoResult}; use std::io::{BufferedStream, IoResult};
use std::io::net;
use std::io::net::ip::{Port, SocketAddr}; use std::io::net::ip::{Port, SocketAddr};
use std::io::net::tcp::TcpStream; use std::io::net::tcp::TcpStream;
use std::io::net; use std::mem;
use std::str; use std::str;
use std::task; use std::task;
use std::mem;
use error::{PostgresDbError, use error::{DnsError,
InvalidUrl,
MissingPassword,
MissingUser,
NoSslSupport,
PgConnectDbError, PgConnectDbError,
PgConnectStreamError, PgConnectStreamError,
PostgresConnectError,
InvalidUrl,
DnsError,
SocketError,
NoSslSupport,
SslError,
MissingUser,
UnsupportedAuthentication,
MissingPassword,
PostgresError,
PgStreamError,
PgDbError, PgDbError,
PgStreamDesynchronized}; PgStreamDesynchronized,
use message::{BackendMessage, PgStreamError,
AuthenticationOk, PostgresConnectError,
AuthenticationKerberosV5, PostgresDbError,
AuthenticationCleartextPassword, PostgresError,
AuthenticationMD5Password, SocketError,
AuthenticationSCMCredential, SslError,
UnsupportedAuthentication};
use message::{AuthenticationCleartextPassword,
AuthenticationGSS, AuthenticationGSS,
AuthenticationKerberosV5,
AuthenticationMD5Password,
AuthenticationOk,
AuthenticationSCMCredential,
AuthenticationSSPI, AuthenticationSSPI,
BackendKeyData, BackendKeyData,
BackendMessage,
BindComplete, BindComplete,
CommandComplete, CommandComplete,
DataRow, DataRow,
@ -127,17 +127,17 @@ use message::{BackendMessage,
PortalSuspended, PortalSuspended,
ReadyForQuery, ReadyForQuery,
RowDescription}; RowDescription};
use message::{FrontendMessage, use message::{Bind,
Bind,
CancelRequest, CancelRequest,
Close, Close,
Describe, Describe,
Execute, Execute,
FrontendMessage,
Parse, Parse,
PasswordMessage, PasswordMessage,
Query, Query,
StartupMessage,
SslRequest, SslRequest,
StartupMessage,
Sync, Sync,
Terminate}; Terminate};
use message::{RowDescriptionEntry, WriteMessage, ReadMessage}; use message::{RowDescriptionEntry, WriteMessage, ReadMessage};