diff --git a/chat-cli/src/main.rs b/chat-cli/src/main.rs index ad7e7e65ce..f8caff4de7 100644 --- a/chat-cli/src/main.rs +++ b/chat-cli/src/main.rs @@ -77,9 +77,10 @@ fn main() { match event { Event::Chat { message, .. } => println!("{}", message), Event::Disconnect => {} // TODO - Event::DisconnectionNotification(time) => { - println!("{}", format!("Connection lost. Kicking in {} seconds", time)) - } + Event::DisconnectionNotification(time) => println!( + "{}", + format!("Connection lost. Kicking in {} seconds", time) + ), } } // Clean up the server after a tick. diff --git a/voxygen/src/session.rs b/voxygen/src/session.rs index c62d0b0773..388621c57a 100644 --- a/voxygen/src/session.rs +++ b/voxygen/src/session.rs @@ -8,13 +8,13 @@ use crate::{ }; use client::{self, Client, Event::Chat}; use common::{ - ChatType, clock::Clock, comp, comp::{Pos, Vel}, msg::ClientState, terrain::{Block, BlockKind}, vol::ReadVol, + ChatType, }; use log::error; use specs::Join;