Skip to content

Commit 3b459ca

Browse files
committed
Add failure heading to pool docs
1 parent 669dd54 commit 3b459ca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ impl PostgresConnectionPool {
6666

6767
/// A convenience function wrapping `try_new`.
6868
///
69+
/// # Failure
70+
///
6971
/// Fails if the pool cannot be created.
7072
pub fn new(url: &str, ssl: SslMode, pool_size: uint)
7173
-> PostgresConnectionPool {

0 commit comments

Comments
 (0)