diff options
author | Teddy Wing | 2017-04-13 02:38:51 +0200 |
---|---|---|
committer | Teddy Wing | 2017-04-13 02:38:51 +0200 |
commit | a2ba5bbb7077b6917df180e35188dd7e3b2d0ab9 (patch) | |
tree | b223afd3508469104b326c21adecc233238dcf30 /src/main.rs | |
parent | c805780c2c7653137a5dece9111aa4efb57b4ce9 (diff) | |
download | HearURL-a2ba5bbb7077b6917df180e35188dd7e3b2d0ab9.tar.bz2 |
main.rs: Remove unused import TcpStream
We only need the `TcpListener` for what we're doing.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 956a0fe..c7137f6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use std::io::{self, Write}; use std::io::prelude::*; -use std::net::{TcpListener, TcpStream}; +use std::net::TcpListener; fn open_stream() -> io::Result<()> { let listener = TcpListener::bind("127.0.0.1:34254")?; |