Fix for API update

This commit is contained in:
Steven Fackler 2014-03-14 08:58:01 -07:00
parent c633b0820b
commit 7111d8a28b

View File

@ -1,6 +1,6 @@
use collections::HashMap;
use serialize::json;
use sync::DuplexStream;
use sync;
use sync::Future;
use time;
use time::Timespec;
@ -39,7 +39,7 @@ fn test_pool() {
let pool = PostgresConnectionPool::new("postgres://postgres@localhost",
NoSsl, 2);
let (stream1, stream2) = DuplexStream::<(), ()>::new();
let (stream1, stream2) = sync::duplex();
let pool1 = pool.clone();
let mut fut1 = Future::spawn(proc() {