Add failure heading to pool docs

This commit is contained in:
Steven Fackler
2013-12-16 22:12:36 -08:00
parent 669dd54c94
commit 3b459ca9c6

View File

@@ -66,6 +66,8 @@ impl PostgresConnectionPool {
/// A convenience function wrapping `try_new`.
///
/// # Failure
///
/// Fails if the pool cannot be created.
pub fn new(url: &str, ssl: SslMode, pool_size: uint)
-> PostgresConnectionPool {