We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d78856 commit fd9b104Copy full SHA for fd9b104
1 file changed
src/pool.rs
@@ -72,7 +72,7 @@ impl PostgresConnectionPool {
72
-> PostgresConnectionPool {
73
match PostgresConnectionPool::try_new(url, ssl, pool_size) {
74
Ok(pool) => pool,
75
- Err(err) => fail!("Unable to initialize pool: {}", err.to_str())
+ Err(err) => fail!("Unable to initialize pool: {}", err)
76
}
77
78
0 commit comments