Remove an extra to_str

This commit is contained in:
Steven Fackler
2014-02-24 21:34:07 -08:00
parent 0d78856938
commit fd9b104bd4

View File

@@ -72,7 +72,7 @@ impl PostgresConnectionPool {
-> PostgresConnectionPool {
match PostgresConnectionPool::try_new(url, ssl, pool_size) {
Ok(pool) => pool,
Err(err) => fail!("Unable to initialize pool: {}", err.to_str())
Err(err) => fail!("Unable to initialize pool: {}", err)
}
}