Skip to content

Commit fd9b104

Browse files
committed
Remove an extra to_str
1 parent 0d78856 commit fd9b104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl PostgresConnectionPool {
7272
-> PostgresConnectionPool {
7373
match PostgresConnectionPool::try_new(url, ssl, pool_size) {
7474
Ok(pool) => pool,
75-
Err(err) => fail!("Unable to initialize pool: {}", err.to_str())
75+
Err(err) => fail!("Unable to initialize pool: {}", err)
7676
}
7777
}
7878

0 commit comments

Comments
 (0)