diff --git a/Cargo.toml b/Cargo.toml index e5f9387..a67e435 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,4 +35,4 @@ optional = true version = "0.1.5" [dev-dependencies] -env_logger = "0.4.3" +env_logger = "0.5.3" diff --git a/examples/autobahn-client.rs b/examples/autobahn-client.rs index b0d9a24..565fee3 100644 --- a/examples/autobahn-client.rs +++ b/examples/autobahn-client.rs @@ -46,7 +46,7 @@ fn run_test(case: u32) -> Result<()> { } fn main() { - env_logger::init().unwrap(); + env_logger::init(); let total = get_case_count().unwrap(); diff --git a/examples/autobahn-server.rs b/examples/autobahn-server.rs index a3a7616..a33339d 100644 --- a/examples/autobahn-server.rs +++ b/examples/autobahn-server.rs @@ -29,7 +29,7 @@ fn handle_client(stream: TcpStream) -> Result<()> { } fn main() { - env_logger::init().unwrap(); + env_logger::init(); let server = TcpListener::bind("127.0.0.1:9001").unwrap(); diff --git a/examples/client.rs b/examples/client.rs index 3116ebc..3e3cc90 100644 --- a/examples/client.rs +++ b/examples/client.rs @@ -6,7 +6,7 @@ use url::Url; use tungstenite::{connect, Message}; fn main() { - env_logger::init().unwrap(); + env_logger::init(); let (mut socket, response) = connect(Url::parse("ws://localhost:3012/socket").unwrap()).expect("Can't connect");