From 3b24af76ab1814e168d861443e5e45ad22d79085 Mon Sep 17 00:00:00 2001 From: Shane Handley Date: Thu, 17 Oct 2019 14:14:20 +0900 Subject: [PATCH] Formatting --- chat-cli/src/main.rs | 7 ++++--- voxygen/src/session.rs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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;