From 5e9a1b42dd0a5386c8e38f18dd76a72d0c52ef2c Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 13 Feb 2023 12:56:12 +0200 Subject: [PATCH] chore(sdbclient): format --- sdbclient/src/api/game/create.rs | 2 +- sdbclient/src/plugins/menu/play/joingamecall.rs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sdbclient/src/api/game/create.rs b/sdbclient/src/api/game/create.rs index 3a3f90a..d69982a 100644 --- a/sdbclient/src/api/game/create.rs +++ b/sdbclient/src/api/game/create.rs @@ -9,7 +9,7 @@ use reqwest; use serde::{Deserialize, Serialize}; -use super::{APIErrorWrapper, types::Game}; +use super::{types::Game, APIErrorWrapper}; #[derive(Debug, Serialize, Deserialize)] #[serde(untagged)] diff --git a/sdbclient/src/plugins/menu/play/joingamecall.rs b/sdbclient/src/plugins/menu/play/joingamecall.rs index 626a0fa..5469fb9 100644 --- a/sdbclient/src/plugins/menu/play/joingamecall.rs +++ b/sdbclient/src/plugins/menu/play/joingamecall.rs @@ -72,7 +72,11 @@ pub(super) fn handle( rtdmenu.play_menu_ui_state = PlayMenuUIState::InLobbyGuest; console.send(PrintConsoleLine::new( - format!("Joined game with id: '{}'", rtdmenu.cur_game.as_ref().unwrap().id).into(), + format!( + "Joined game with id: '{}'", + rtdmenu.cur_game.as_ref().unwrap().id + ) + .into(), )); } ResponseJoinGame::Error(error) => { -- 2.44.1