diff --git a/src/main.rs b/src/main.rs index 8e4837e..b82a74c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ use std::{ format, env::args, path::Path, - io::{prelude::*,Read}, + io::Read, net::TcpStream, }; use irc_proto::command::{ @@ -31,17 +31,6 @@ use irc_stream::{IrcStream, IrcRead, IrcWrite}; use toml::Value; use native_tls::{TlsConnector,TlsStream}; -/* -fn lex_irc_messages(stream: &mut ClientStream) -> irc::error::Result<()> { - while let Some(message) = stream.next().await.transpose()? { - print!("{}", message); - } - - Ok(()) -} - -*/ - fn get_config>(config_path: P) -> Result> { let mut config = String::new(); @@ -143,3 +132,4 @@ fn main() { ); } +