We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentdd6fd32 commitc8a1daeCopy full SHA for c8a1dae
src/lib.rs
@@ -50,8 +50,6 @@ impl error::Error for Error {
50
/// extern crate r2d2_postgres;
51
/// extern crate postgres;
52
///
53
-/// use std::sync::Arc;
54
-/// use std::default::Default;
55
/// use std::thread;
56
/// use postgres::SslMode;
57
/// use r2d2_postgres::PostgresConnectionManager;
@@ -60,7 +58,7 @@ impl error::Error for Error {
60
58
/// let config = r2d2::Config::default();
61
59
/// let manager = PostgresConnectionManager::new("postgres://postgres@localhost",
62
/// SslMode::None).unwrap();
63
-/// let pool =Arc::new(r2d2::Pool::new(config, manager).unwrap());
+/// let pool = r2d2::Pool::new(config, manager).unwrap();
64
65
/// for i in 0..10i32 {
66
/// let pool = pool.clone();