Update README for do removal

This commit is contained in:
Steven Fackler 2014-02-02 15:02:59 -05:00
parent 07c6f05fc3
commit 18cc9fb7b7

View File

@ -178,10 +178,10 @@ let pool = PostgresConnectionPool::new("postgres://postgres@localhost",
for _ in range(0, 10) {
let pool = pool.clone();
do task::spawn {
spawn(proc() {
let conn = pool.get_connection();
conn.query(...);
}
})
}
```