File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ path = "tests/test.rs"
1919
2020[dependencies ]
2121r2d2 = " 0.5"
22- postgres = " 0.8 "
22+ postgres = " 0.9 "
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ use postgres::{IntoConnectParams, SslMode};
1212/// A unified enum of errors returned by postgres::Connection
1313#[ derive( Debug ) ]
1414pub enum Error {
15- /// A postgres::ConnectError
16- Connect ( postgres:: ConnectError ) ,
17- /// An postgres::Error
18- Other ( postgres:: Error ) ,
15+ /// A postgres::error:: ConnectError
16+ Connect ( postgres:: error :: ConnectError ) ,
17+ /// An postgres::error:: Error
18+ Other ( postgres:: error :: Error ) ,
1919}
2020
2121impl fmt:: Display for Error {
@@ -84,7 +84,7 @@ impl PostgresConnectionManager {
8484 /// See `postgres::Connection::connect` for a description of the parameter
8585 /// types.
8686 pub fn new < T : IntoConnectParams > ( params : T , ssl_mode : SslMode )
87- -> Result < PostgresConnectionManager , postgres:: ConnectError > {
87+ -> Result < PostgresConnectionManager , postgres:: error :: ConnectError > {
8888 Ok ( PostgresConnectionManager {
8989 params : try!( params. into_connect_params ( ) ) ,
9090 ssl_mode : ssl_mode,
You can’t perform that action at this time.
0 commit comments