From 3b459ca9c68d658652138ebcfe588fe625b2faff Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 16 Dec 2013 22:12:36 -0800 Subject: [PATCH] Add failure heading to pool docs --- pool.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pool.rs b/pool.rs index 80184bad..70abbcf6 100644 --- a/pool.rs +++ b/pool.rs @@ -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 {