Skip to content

Commit 0f4e4e9

Browse files
committed
Sort use statements
1 parent d72c607 commit 0f4e4e9

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

src/lib.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,38 +81,38 @@ use openssl::ssl::{SslStream, SslContext};
8181
use std::cell::{Cell, RefCell};
8282
use std::hashmap::HashMap;
8383
use std::io::{BufferedStream, IoResult};
84+
use std::io::net;
8485
use std::io::net::ip::{Port, SocketAddr};
8586
use std::io::net::tcp::TcpStream;
86-
use std::io::net;
87+
use std::mem;
8788
use std::str;
8889
use std::task;
89-
use std::mem;
9090

91-
use error::{PostgresDbError,
91+
use error::{DnsError,
92+
InvalidUrl,
93+
MissingPassword,
94+
MissingUser,
95+
NoSslSupport,
9296
PgConnectDbError,
9397
PgConnectStreamError,
98+
PgDbError,
99+
PgStreamDesynchronized,
100+
PgStreamError,
94101
PostgresConnectError,
95-
InvalidUrl,
96-
DnsError,
102+
PostgresDbError,
103+
PostgresError,
97104
SocketError,
98-
NoSslSupport,
99105
SslError,
100-
MissingUser,
101-
UnsupportedAuthentication,
102-
MissingPassword,
103-
PostgresError,
104-
PgStreamError,
105-
PgDbError,
106-
PgStreamDesynchronized};
107-
use message::{BackendMessage,
108-
AuthenticationOk,
106+
UnsupportedAuthentication};
107+
use message::{AuthenticationCleartextPassword,
108+
AuthenticationGSS,
109109
AuthenticationKerberosV5,
110-
AuthenticationCleartextPassword,
111110
AuthenticationMD5Password,
111+
AuthenticationOk,
112112
AuthenticationSCMCredential,
113-
AuthenticationGSS,
114113
AuthenticationSSPI,
115114
BackendKeyData,
115+
BackendMessage,
116116
BindComplete,
117117
CommandComplete,
118118
DataRow,
@@ -127,17 +127,17 @@ use message::{BackendMessage,
127127
PortalSuspended,
128128
ReadyForQuery,
129129
RowDescription};
130-
use message::{FrontendMessage,
131-
Bind,
130+
use message::{Bind,
132131
CancelRequest,
133132
Close,
134133
Describe,
135134
Execute,
135+
FrontendMessage,
136136
Parse,
137137
PasswordMessage,
138138
Query,
139-
StartupMessage,
140139
SslRequest,
140+
StartupMessage,
141141
Sync,
142142
Terminate};
143143
use message::{RowDescriptionEntry, WriteMessage, ReadMessage};

0 commit comments

Comments
 (0)