diff --git a/server/src/api.rs b/server/src/api.rs index 01ed971..102ed8f 100644 --- a/server/src/api.rs +++ b/server/src/api.rs @@ -12,8 +12,10 @@ use futures::{SinkExt, StreamExt}; use lib::models::*; use rand::seq::SliceRandom; use serde_json::to_string; -use std::sync::RwLock; -use std::{net::SocketAddr, sync::Arc}; +use std::{ + net::SocketAddr, + sync::{Arc, RwLock}, +}; pub mod message_handler; use crate::message_handler::*;