Skip to content

Commit 4b6838d

Browse files
committed
Fix stream use
1 parent f4bc1ff commit 4b6838d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn test_pool() {
4545
let pool = PostgresConnectionPool::new("postgres://postgres@localhost",
4646
NoSsl, 2);
4747

48-
let (stream1, stream2) = DuplexStream::<(), ()>();
48+
let (stream1, stream2) = DuplexStream::<(), ()>::new();
4949

5050
let pool1 = pool.clone();
5151
let mut fut1 = do Future::spawn {

0 commit comments

Comments
 (0)