Start refactoring streams to introduce a mock server

This commit is contained in:
Alexis Mousset
2015-04-22 21:52:03 +02:00
parent 78e88d5bc6
commit ee8da8196a
5 changed files with 28 additions and 31 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ fn main() {
.subject("Hello")
.build();
let mut sender: Sender<TcpStream> = SenderBuilder::localhost().hello_name("localhost")
let mut sender: Sender = SenderBuilder::localhost().hello_name("localhost")
.enable_connection_reuse(true).build();
for _ in (1..5) {